Rev 615 Rev 619
Line 28... Line 28...
28 // - Freewheeling and back-EMF in all four modes 28 // - Freewheeling and back-EMF in all four modes
29 // - Braking 29 // - Braking
30   30  
31 // BUGS: 31 // BUGS:
32 // - back-EMF measurment is different in fast-collapse and low-collapse modes. This make control leading to different speeds in the two modes. 32 // - back-EMF measurment is different in fast-collapse and low-collapse modes. This make control leading to different speeds in the two modes.
-   33  
-   34 #define BOARD_umHBridge
-   35 #define H_BRIDGE
33   36  
34 #include <avr/pgmspace.h> 37 #include <avr/pgmspace.h>
35 #include <avr/interrupt.h> #include <avr/sleep.h> 38 #include <avr/interrupt.h> #include <avr/sleep.h>
36   39  
37 #include "common.h" 40 #include "common.h"
38 #include "opled.h" 41 #include "opled.h"
39 #include "usart.h" 42 #include "usart.h"
40 #include "twi_aap.h" 43 #include "twi_aap.h"
41 #include "eeprom.h" 44 #include "eeprom.h"
42   -  
43 #define H_BRIDGE -  
44   45  
45 void DebugStat(); 46 void DebugStat();
46   47  
47 // This is an 8-bit PWM 48 // This is an 8-bit PWM
48 namespace PWM1 { 49 namespace PWM1 {