Pavel Semerad
4f05a016f4
add using FLASH for model memories
2012-04-27 15:59:51 +02:00
Pavel Semerad
e05d4801fe
add possibility to connect potentiometer instead of CH3 button
2012-04-26 12:28:58 +02:00
Pavel Semerad
b31918c265
add global option rotate_reverse for GT3C rotate encoder
2012-04-21 21:46:52 +02:00
Pavel Semerad
1538c0640e
always set number of channels of ADC
2012-04-16 21:38:14 +02:00
Pavel Semerad
562496273d
added up and down timers with throttle trigger
2012-04-16 20:18:53 +02:00
Pavel Semerad
338208d26f
tasks stack sizes lowered to current usage + reserve
2012-04-16 02:04:43 +02:00
Pavel Semerad
f9841221bd
3-pos switch in place of CH3 button is now working
2012-04-13 17:09:45 +02:00
Pavel Semerad
f71460ba32
some ADC hack, after erasing EEPROM from STVP, only steering ADC was working
2012-04-12 19:55:35 +02:00
Pavel Semerad
0235b13fed
inactivity timer compares ADC values with previous ones
2012-04-07 20:23:57 +02:00
Pavel Semerad
6d6d74224f
show calibrate after poweron with steering/strottle not in dead zone
2012-04-07 18:17:35 +02:00
Pavel Semerad
8c7d049fba
measure ADC every 1ms at timer code, compute averaged ADC value when used
2012-04-07 16:08:31 +02:00
Pavel Semerad
1ae57484b7
comments
2011-09-26 10:16:00 +02:00
Pavel Semerad
90308df5d8
initial doxygen support by Stepan Knakal
2011-07-17 22:03:10 +02:00
Pavel Semerad
1cabcb5852
some variables to @near
2011-06-19 19:15:50 +02:00
Pavel Semerad
082a94223b
added globally settable long-press delay
2011-06-19 14:01:33 +02:00
Pavel Semerad
6f4a5df1d7
added inactivity alarm
2011-06-10 15:43:49 +02:00
Pavel Semerad
ead7f2ab8d
changed awaking CALC task, flag input_initialized
2011-06-09 23:37:59 +02:00
Pavel Semerad
c8923c7f75
changed buttons settings, opposite_reset is now in ck.momentary and
...
momentary setting is in buttons
added possibility to specify special functions to handle long key
presses for electronic trims functions
added 4WS and DIG channels to model config
added steering speed settings to model config
2011-06-06 17:49:29 +02:00
Pavel Semerad
41cd1c7cc1
added more battery hysteresis, about 1.5V
2011-06-02 20:03:37 +02:00
Pavel Semerad
9302a02da8
removed CH3_MID, moved BTN_ROT_*
2011-05-19 16:03:26 +02:00
Pavel Semerad
fc326c14bd
added BTN_CH3_MID
2011-05-19 13:04:36 +02:00
Pavel Semerad
904be6a368
now possible to read multiple keys from key matrix
2011-05-16 23:04:08 +02:00
Pavel Semerad
8deca35a2f
added % to submenus, removed leaved lcd segments in trim_sualrate(), repair reading more keys pressed together and trim reset
2011-05-16 22:00:01 +02:00
Pavel Semerad
a5618b2a93
change battery voltage only every 2 sec, menu repairs
2011-05-16 21:00:27 +02:00
Pavel Semerad
9a43384e6f
start checking battery voltage after 5s
2011-05-16 19:51:26 +02:00
Pavel Semerad
faec63d6b5
added config_global.battery_calib and apropriate changes
2011-05-16 15:27:30 +02:00
Pavel Semerad
af8b2be210
adc_battery_filt now using averaging 256 samples
2011-05-13 22:51:21 +02:00
Pavel Semerad
62b637063e
encoder repair; tuning autorepeat delays; long buttons repair
2011-05-13 18:26:57 +02:00
Pavel Semerad
757c47bb7b
added backlight handling
2011-05-13 16:06:08 +02:00
Pavel Semerad
c8c985c548
do not do autorepeat/long_press when nothing was pressed
2011-05-13 15:48:33 +02:00
Pavel Semerad
4327428f96
rounding oversampled and filtered values, corrected reading of key matrix
2011-05-13 13:26:37 +02:00
Pavel Semerad
4ac6e16cd6
CALC must be awaked at start and after change of ppm channels
2011-05-13 11:42:27 +02:00
Pavel Semerad
6ae8c6956c
comments, repairs and restructures in MENU
2011-05-12 17:56:31 +02:00
Pavel Semerad
f75d4caadb
changed encoder handling, wakeup MENU also when buttons_state changed
2011-05-12 17:01:46 +02:00
Pavel Semerad
3b5241f47e
buttons_state as external to be able do for example CH3-momentary func
2011-05-12 15:06:16 +02:00
Pavel Semerad
3a2afb2693
comments
2011-05-11 23:12:39 +02:00
Pavel Semerad
67ee55f0b7
repair bad condition to wakeup MENU
2011-05-11 23:12:10 +02:00
Pavel Semerad
fb730b738b
wakeup menu also when menu_wants_adc
2011-05-11 22:30:47 +02:00
Pavel Semerad
d3f70680b4
hysteresis to bat_low check, bat_low check in menu_pause()
2011-05-11 16:59:44 +02:00
Pavel Semerad
c0cb30f732
check battery low
2011-05-11 16:41:28 +02:00
Pavel Semerad
d311fe6d01
added forgotten init to ENCODER_FAST_THRESHOLD
2011-05-11 13:17:32 +02:00
Pavel Semerad
98df770473
added MENU task and some menu functions
2011-05-11 13:09:51 +02:00
Pavel Semerad
f60d851b5d
include files harmonized
2011-05-11 12:22:51 +02:00
Pavel Semerad
1f93a8bda4
added rotate encoder support
2011-05-11 10:55:25 +02:00
Pavel Semerad
45313da6ee
adc_all[] -> adc_all_ovs[] + adc_all_last[]
2011-05-10 21:47:25 +02:00
Pavel Semerad
7bb34a5b41
added missing stop() to input_loop()
2011-05-09 22:56:00 +02:00
Pavel Semerad
050c08b5a3
added INPUT task, input_loop() and read_ADC()
2011-05-09 22:48:57 +02:00
Pavel Semerad
4267f76414
added read_key_matrix
2011-05-09 12:21:36 +02:00
Pavel Semerad
ff3a46e3fa
initial keys handling
2011-05-09 11:57:04 +02:00
Pavel Semerad
46a4d4d8fc
added input.h
2011-05-08 22:07:14 +02:00