Raw C for the AVR Atmega-328p microprocessor. Some of it is useful, some may be portable.
Find a file
2024-03-24 05:14:49 +01:00
.gitignore Initial 2024-02-09 02:14:45 +01:00
i2c.c Debug printing all over the place 2024-03-24 04:07:20 +01:00
i2c.h Debug printing all over the place 2024-03-24 04:07:20 +01:00
main.c Sleep the CPU after first iteration, for sanity 2024-03-24 05:08:56 +01:00
makefile DEBUG macro in uart.h, enabled by default in makefile 2024-03-24 02:28:40 +01:00
MPU6050.c Error chceking 2024-03-24 05:14:49 +01:00
MPU6050.h Attempt at making MPU6050 work via i2c 2024-03-24 01:23:44 +01:00
README.md Error chceking 2024-03-24 05:14:49 +01:00
uart.c Variadic UART_println 2024-03-24 01:55:23 +01:00
uart.h Variadic DEBUG macro 2024-03-24 04:06:27 +01:00

AVR Playground

See AVR i2c library.

QEMU AVR Docs

sudo dnf install avr-binutils avr-libc avr-gcc avr-gcc-c++ avrdude qemu-system-avr