forked from EFeru/hoverboard-firmware-hack-FOC
Improvements and Issues implementation
Major: - Issue #3: added raw ADC1, ADC2 values to the setScopeChannel - Issue #4: added functionality for joystick control. Middle resting potis are now supported (by default it is enabled) - Issue #6: implemented that board does not power-off after a software reset due to flashing - added Rate constraints for Input target for smoother response Minor: - added 2 beep sound when motors get enabled - minor bugfixes
This commit is contained in:
@@ -63,7 +63,7 @@ uint8_t buzzerFreq = 0;
|
||||
uint8_t buzzerPattern = 0;
|
||||
static uint32_t buzzerTimer = 0;
|
||||
|
||||
uint8_t enable = 0;
|
||||
uint8_t enable = 0; // initially motors are disabled for SAFETY
|
||||
static uint8_t enableFin = 0;
|
||||
|
||||
static const uint16_t pwm_res = 64000000 / 2 / PWM_FREQ; // = 2000
|
||||
|
Reference in New Issue
Block a user