Do not attempt to drive the motor with the pullup ...

This commit is contained in:
Thammi 2013-08-29 21:16:35 +02:00
parent 72ea9dea84
commit a86a3bb29b
2 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,6 @@ call the REGISTER() macro to define the entry point to your application.
## Bugs and TODOs ## 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 * add more functions to the hardware abstraction layer
* a mechanism to select which applications to include in the firmware * a mechanism to select which applications to include in the firmware

View File

@ -77,9 +77,10 @@ void reset_hw(void) {
// 0: S1 // 0: S1
// 1: S2 // 1: S2
// 6: MOTOR
// 7: BUZZR // 7: BUZZR
PORTB = (1 << 0) | (1 << 1) | (1 << 7); PORTB = (1 << 0) | (1 << 1) | (1 << 7);
DDRB = (1 << 7); DDRB = (1 << 6) | (1 << 7);
// 0: BUZGND // 0: BUZGND
// 2: LED2 // 2: LED2