added config for dea + added build and flash section in readme
This commit is contained in:
+5
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user