X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Flib%2Farduino.c;h=698aa9ed7f082572062da7201468a2ee031d716c;hp=870f46e48c970524bb6e11da2f4ae2806a5f4c7f;hb=7254ebd4731d5c3ce94bbe4e16a5928a5089e6c4;hpb=c291f2361f0588cab3bd9d179edbf0c095ffda6c diff --git a/firmware/lib/arduino.c b/firmware/lib/arduino.c index 870f46e..698aa9e 100644 --- a/firmware/lib/arduino.c +++ b/firmware/lib/arduino.c @@ -12,19 +12,8 @@ void arduino_init(){ /* set PORTB for output*/ DDRB = 0xFF; - - while (1) - { - /* set PORTB.6 high */ - PORTB = 0x20; - - _delay_ms(1000); - - /* set PORTB.6 low */ - PORTB = 0x00; - - _delay_ms(1000); - } + + avr_init_uart0(); } #endif