Revision 632
i think this should work. needs testing.
trunk/code/projects/autonomous_recharging/charging_station/new station driver code/orb.c | ||
---|---|---|
58 | 58 |
**/ |
59 | 59 |
int orb_init (void) |
60 | 60 |
{ |
61 |
/*data direction registers, blue, green (bit 7) and red (bit 5)*/
|
|
61 |
/*data direction registers, blue, green (bit 6) and red (bit 4)*/
|
|
62 | 62 |
//DDRB = _BV(DDB4); |
63 | 63 |
DDRB = 0b00010000; |
64 | 64 |
|
Also available in: Unified diff