zexinliao / opentx

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

Timers go to minus values when counting down but minus cannot be used in Switches #110

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?
2491

What is your openTx EEPROM version?
215

What steps will reproduce the problem?
0. set a Switch to a> -5
1. Set aq timer to 30 seconds
2.start it with whatever trigger
3.watch for 32 seconds.

This is an enhancement to have Switch be able to be set to the way the timers 
work now.
The Timer can go negative, but the Switches do not allow MINUS entries in test 
of > .GT. or < .LT.

This carries over to C9x also

PS Switches are labeled Custom Switches, but are no more CUSTOM than Setup, 
Flight Modes, Mixes.....FUNCTIONS  (personal rant, sorry)

Original issue reported on code.google.com by DeanC274@gmail.com on 19 Aug 2013 at 5:48

GoogleCodeExporter commented 8 years ago
Hmm don't understand...
What's the point of using negative timers in Custom switches? Timers only get 
negative as an overflow, which is not a "normal" condition (unless you're happy 
to listen to the warning beep continuously)...

Custom switches are Custom because they are switches, but which are not 
physical, and rather depend on a custom math expression ;)

Original comment by bernet.a...@gmail.com on 22 Aug 2013 at 9:41

GoogleCodeExporter commented 8 years ago
So they are Boolean Functions or Logical Switches...
...... and as custome as the mixes, D/R ;-)

Negative is to allow me to Stop a Boolean from being true by anding with the 
Logical that allowed a sound to be played in Functions...:-) ;-)
Dean

a<x tmr1   30    now after 5 seconds of not having landed my glider on time, I 
want it to stop reminding me of how bad my score is going to be.

Original comment by DeanC274@gmail.com on 22 Aug 2013 at 10:38

GoogleCodeExporter commented 8 years ago
Someone else shares some concerns about this.
http://www.rcgroups.com/forums/showpost.php?p=25922307&postcount=1325 

I've decided Switches should be called Boolean Switches.  This, of course, 
would be abreviated in the OpenTX and C9x software.
BS1 thru BS32 to go with 
Fn1 thru Fn32
or is there a good reason for BS to go BSA thru BSW?

Be like ny wife...just ignore me, its all just BS monday morning quarterbacking 
;-)
All manuals suck,  I have JR9303 and its manually sucks really bad, yours is so 
much better than any other I look at, its wonderful by any comparsion.  
The development team has done a great job in the past, a really great job 
getting the Taranus stuff together and have added features that the DX9 cant 
touch at twice the price.  

My hearty thanks to all of you!

Original comment by DeanC274@gmail.com on 23 Aug 2013 at 9:45

GoogleCodeExporter commented 8 years ago
It will be possible after an EEPROM modification. We currently have only 8bits 
to store the value.

Original comment by bson...@gmail.com on 27 Aug 2013 at 7:26

GoogleCodeExporter commented 8 years ago
Commited on SVN. Will be in next major release

Original comment by bson...@gmail.com on 7 Nov 2013 at 2:03