Implemented 31kHz PWM output

This commit is contained in:
Aditya Pulipaka
2025-11-22 14:44:25 -06:00
parent 5c9a67e1d3
commit 28e33651a3
12 changed files with 51 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
#include "IndSensorMap.hpp"
#include "PseudoSensorControl.hpp"
#include "ADC.hpp"
#include "FastPWM.hpp"
float refs[4] = {12.9,12.3,12.6,12};
@@ -36,8 +37,8 @@ int ON = 0;
void setup() {
Serial.begin(115200);
setupADC();
setupFastPWM();
indL.alpha = alphaVal;
indR.alpha = alphaVal;