Multicore IRQ + Timer for speed control

This commit is contained in:
GabrielKoppenstein committed 2021-09-03 00:10:32 +02:00
1 parent 0860162c4f
commit 0bb1ce71f9
2 files changed
+139 -77

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
#define CV_6 127 //V_mid - Middle Speed
#define CV_7 13 //Version No. - Decoder-Software version
#define CV_8 13 //Manufacturer - Manufacturer Identification (13 == "Public Domain & Do-It-Yourself Decoders").
#define CV_9 0 //PWM-Period - Defines the Motor PWM-Period
#define CV_9 40 //PWM-Period - Defines the Motor PWM-Period
const uint8_t CV_FUNCTION_ARRAY [256] = {
// 31 30 29 28 - 27 26 25 24 -- 23 22 21 20 - 19 18 17 16 -- 15 14 13 12 - 11 10 9 8 -- 7 6 5 4 - 3 2 1 0 <- GPIO
// byte_3 -- byte_2 -- byte_1 -- byte_0