Content originally posted in LPCWare by MarcVonWindscooting on Thu Jun 02 13:45:48 MST 2016
Quote: rsg
I don't need all these states and transitions!
If you say so. Then you have my deep respect, because you obviously plan to use some fancy modwrap-math to calculate the speed totally asynchronous from the difference of the counts c1,c2 at two different times t1,t2, determined by some hardware timer 'T'.
v = scale*(c1-c2) / (t1-t2)
But wait...what are you planning to use as timer 'T' ? Don't say, the SCT! Because then it's no longer the 'simplest use' you're after ;-)
(And for all other timers, I want to see your modwrap math, really! 0:)
Marc