DeBesten / opentx

Automatically exported from code.google.com/p/opentx
0 stars 0 forks source link

programmable switches based on timers, only 3sec increments possible. #164

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which board (stock / gruvin9x / sky9x / Taranis) are you using?

Taranis

What is your openTx FW version?
latest

What is your openTx EEPROM version?
latest

What steps will reproduce the problem?
1. go to page 9 in the menu
2. try to set programmable switch based on timer
3. Try to set time like 00:10 or 00:20

What is the expected output? What do you see instead?
I expect to be able to set the aformentioned times.
But there is only increment of 3sec possible. So I can not set 10sec or 20sec, 
but only 9sec or 21sec.  30sec is possible, as it is a multiple of 3.

Please provide any additional information below.

A similar issue appears when I try to set alarm values for the voltage of A1 in 
the telemetry page 11. Only increments of 0.05 are possible here, but sometimes 
0.06:

4.60V "+" 4.65V "+" 4.71V  ???

If it was always 0.05V this was ok, but sometimes other increments are 
confusing.

Original issue reported on code.google.com by extremf...@gmx.de on 16 Oct 2013 at 7:10

GoogleCodeExporter commented 8 years ago
This is still a remainder from the 9x's limitations, only 256 possible values 
for a custom switch parameter. So without the trick of 3-second steps the 
longest alarm you could have set was 255 seconds.
This is already improved in the current development version. 

About A1, it comes from the receiver as a number between 0 and 255. We map that 
to a voltage value using the Range setting and display it.
The alarm is also stored as a number between 0 and 255, so the "steps" are the 
same and the different increments are just an effect of rounding.

Original comment by bernet.a...@gmail.com on 19 Oct 2013 at 12:43

GoogleCodeExporter commented 8 years ago

Original comment by bson...@gmail.com on 6 Nov 2013 at 8:58