projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AVR UARTs; not quite ready.
[goodfet]
/
firmware
/
lib
/
arduino.c
diff --git
a/firmware/lib/arduino.c
b/firmware/lib/arduino.c
index
870f46e
..
503492c
100644
(file)
--- a/
firmware/lib/arduino.c
+++ b/
firmware/lib/arduino.c
@@
-12,19
+12,21
@@
void arduino_init(){
/* set PORTB for output*/
DDRB = 0xFF;
void arduino_init(){
/* set PORTB for output*/
DDRB = 0xFF;
-
+
+ /*
while (1)
{
while (1)
{
- /* set PORTB.6 high */
+ //LED on
PORTB = 0x20;
_delay_ms(1000);
PORTB = 0x20;
_delay_ms(1000);
- /
* set PORTB.6 low */
+ /
/LED off
PORTB = 0x00;
_delay_ms(1000);
}
PORTB = 0x00;
_delay_ms(1000);
}
+*/
}
#endif
}
#endif