added config for dea + added build and flash section in readme

This commit is contained in:
2026-05-09 20:12:28 +02:00
parent 6b55dea700
commit 65a95d9b2a
2 changed files with 13 additions and 4 deletions
+6 -2
View File
@@ -150,8 +150,12 @@ int main(void) {
/* USER CODE BEGIN 3 */
uint16_t angleSensor = AngleSensor.getAngel();
dutyCycle = mapToRange(12600, 16100, 0, 1000, angleSensor);
// config shell
// dutyCycle = mapToRange(12600, 16100, 0, 1000, angleSensor);
// config dea
dutyCycle = mapToRange(23545, 26820, 0, 1000, angleSensor);
if (dutyCycle < 100) {
dutyCycle = 0;