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
+5 -1
View File
@@ -151,7 +151,11 @@ int main(void) {
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;
+6 -1
View File
@@ -1,4 +1,9 @@
# Firmware for Slotcar Controller
- based on STM32g30
## Hardware
- STM32g30
- TLE5012b
## Build and flash
- open projekt in vscode
- Run and Debug -> select STM32Cube: Launch ST-Link GDB Server