start of project

This commit is contained in:
William Clark 2024-01-09 19:15:14 +00:00
parent 39d45ff66d
commit 17c42749c3
10 changed files with 32 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
mpu6050

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
CC=gcc
CFLAG=-O0 -std=c89 -I.
CFILES=$(wildcard *.c)
BIN=mpu6050
all:
$(CC) $(CFLAG) $(CFILES) -o $(BIN)
clean:
rm -rf $(BIN)

View File

@ -1 +1,3 @@
# MPU-6050 # MPU-6050
Combined 3-axis accelerometer and 3-axis gyroscope

BIN
doc/MPU-6000-Datasheet1.pdf Normal file

Binary file not shown.

0
i2c.c Normal file
View File

5
i2c.h Normal file
View File

@ -0,0 +1,5 @@
#ifndef I2C_H
#define I2C_H
#endif

8
main.c Normal file
View File

@ -0,0 +1,8 @@
#include <stdio.h>
#include "mpu6050.h"
#include "i2c.h"
int main() {
printf("Hello\n");
return 0;
}

0
mpu6050.c Normal file
View File

5
mpu6050.h Normal file
View File

@ -0,0 +1,5 @@
#ifndef MPU6050_H
#define MPU6050_H
#endif