kopia lustrzana https://github.com/k3ng/k3ng_cw_keyer
I build a K3NG Keyer with ARDUINO_GENERIC_STM32F103C. (#100)
I noticed command buttons 1-3 are not working. (Only "Button - 0" is working). This issue caused because the range of AnalogRead() was different. So, I fixed the range of "max_value" in "buttonarray.h"VK2EFL-Change-Personalized-Startup-Operation
rodzic
0be678dd3c
commit
82f5c1f827
|
@ -7,7 +7,7 @@
|
|||
#define DEBOUNCE_MS 200
|
||||
#define NUMBER_OF_BUTTON_READS_TO_AVERAGE 19
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
#if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_GENERIC_STM32F103C)
|
||||
#define max_value 4095
|
||||
#else
|
||||
#define max_value 1023
|
||||
|
|
Ładowanie…
Reference in New Issue