projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AVR baud rates are good, but the values are hackish.
[goodfet]
/
firmware
/
lib
/
arduino.c
diff --git
a/firmware/lib/arduino.c
b/firmware/lib/arduino.c
index
870f46e
..
698aa9e
100644
(file)
--- 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