No changes between revisions
/Modules/HBRIDGE/HB2FET02A/SW/h-bridge.cpp
31,9 → 31,6
// BUGS:
// - back-EMF measurment is different in fast-collapse and low-collapse modes. This make control leading to different speeds in the two modes.
 
#define BOARD_umHBridge
#define H_BRIDGE
 
#include <avr/pgmspace.h>
#include <avr/sleep.h>
@@ -44,6 +41,8 @@
#include "twi_aap.h"
#include "eeprom.h"
+#define H_BRIDGE
+
void DebugStat();
// This is an 8-bit PWM