Do not attempt to drive the motor with the pullup ...
This commit is contained in:
parent
72ea9dea84
commit
a86a3bb29b
|
@ -44,8 +44,6 @@ call the REGISTER() macro to define the entry point to your application.
|
|||
|
||||
## Bugs and TODOs
|
||||
|
||||
* _delay_ms() function will be replaced (it waits too long and the application
|
||||
cannot be quit while waiting)
|
||||
* add more functions to the hardware abstraction layer
|
||||
* a mechanism to select which applications to include in the firmware
|
||||
|
||||
|
|
|
@ -77,9 +77,10 @@ void reset_hw(void) {
|
|||
|
||||
// 0: S1
|
||||
// 1: S2
|
||||
// 6: MOTOR
|
||||
// 7: BUZZR
|
||||
PORTB = (1 << 0) | (1 << 1) | (1 << 7);
|
||||
DDRB = (1 << 7);
|
||||
DDRB = (1 << 6) | (1 << 7);
|
||||
|
||||
// 0: BUZGND
|
||||
// 2: LED2
|
||||
|
|
Loading…
Reference in New Issue
Block a user