Files

copied

Scanning the repository...

Last update 4 years 7 months by Tommigems
Filesfirmware
..
.vscode
fatfs
.gitignore
Makefile
i2c.c
i2c.h
main.c
usart.c
usart.h
main.c
#include <avr/io.h> #include <util/delay.h> #define MS_DELAY 300 int main (void) { DDRF |= _BV(DDF5); // Use PF5 ion digital output mode // (requires the JTAG fuse to be unprogrammed) while(1) { PORTF &= ~_BV(PORTF5); // Set PF5 LOW (LED on) _delay_ms(MS_DELAY); PORTF |= _BV(PORTF5); // Set PF5 HIGH (LED off) _delay_ms(MS_DELAY); } }
Report a bug