Pavel Semerad
|
4f05a016f4
|
add using FLASH for model memories
|
2012-04-27 15:59:51 +02:00 |
|
Pavel Semerad
|
1538c0640e
|
always set number of channels of ADC
|
2012-04-16 21:38:14 +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
|
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
|
3bcc82c82f
|
renamed ADC_OVS_RND -> ADC_OVS_ROUND
|
2012-04-05 20:32:13 +02:00 |
|
Pavel Semerad
|
1cabcb5852
|
some variables to @near
|
2011-06-19 19:15:50 +02:00 |
|
Pavel Semerad
|
ead7f2ab8d
|
changed awaking CALC task, flag input_initialized
|
2011-06-09 23:37:59 +02:00 |
|
Pavel Semerad
|
8c76e61271
|
when checking both trims to be pressed long to reset value, check also if buttons_states is ON for them, because else first left-long and then right-long will do reset also
|
2011-05-20 09:27:35 +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
|
9c5657d007
|
repair of btnl_all()
|
2011-05-16 23:23:02 +02:00 |
|
Pavel Semerad
|
d8d132a626
|
corrected trims-long reset
|
2011-05-16 23:03:37 +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
|
9a43384e6f
|
start checking battery voltage after 5s
|
2011-05-16 19:51:26 +02:00 |
|
Pavel Semerad
|
e0ed0f8858
|
average 512 battery samples
|
2011-05-15 16:51:20 +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
|
4327428f96
|
rounding oversampled and filtered values, corrected reading of key matrix
|
2011-05-13 13:26:37 +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
|
75e291c579
|
btnr(BTN_ALL) -> btnra()
|
2011-05-12 13:14:09 +02:00 |
|
Pavel Semerad
|
6364ffeddf
|
buttons operation to shorter btn() btnl() btnr()
|
2011-05-12 10:53:35 +02:00 |
|
Pavel Semerad
|
c0cb30f732
|
check battery low
|
2011-05-11 16:41:28 +02:00 |
|
Pavel Semerad
|
f60d851b5d
|
include files harmonized
|
2011-05-11 12:22:51 +02:00 |
|
Pavel Semerad
|
88e463b7ea
|
rotate encoder will use buttons and buttons_long also
|
2011-05-11 00:15:54 +02:00 |
|
Pavel Semerad
|
f46d7c835a
|
#define for rotate encoder
|
2011-05-11 00:09:56 +02:00 |
|
Pavel Semerad
|
45313da6ee
|
adc_all[] -> adc_all_ovs[] + adc_all_last[]
|
2011-05-10 21:47:25 +02:00 |
|
Pavel Semerad
|
050c08b5a3
|
added INPUT task, input_loop() and read_ADC()
|
2011-05-09 22:48:57 +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 |
|