æãã¨ããã«æã£ã¦ããã¨ç¹æ» ãã¾ãã é¨åã¯tiny2313ã¨LEDã1åãã¤ã LEDãå ã»ã³ãµã¼ã¨ãã¦ä½¿ã£ã¦ãã¾ãã // AVR Hotaru #include <avr/io.h> //#include <avr/interrupt.h> #include <util/delay.h> #define nop() __asm__ __volatile__ ("nop") #define SERIAL_DEBUG 0 #if SERIAL_DEBUG #define BAUD 2400 //#define SET_PORT(PORT, MASK, VALUE) PORT = (VALUE & MASK)|((~MASK) & PORT) void usart_init(void) { #define _UBRR (F_CPU/16/BAUD-1) UBRRH = _UBRR>>8;
{{#tags}}- {{label}}
{{/tags}}