Joined: 15 Jun 2015 Posts: 16 Location: Dallas, TX
OK, I am an idiot
Posted: Sat Jul 04, 2015 4:08 pm
Feel free to disagree...
It finally dawned on me that if I have fewer than the max pulses I will still make my way down through the rest of the IF ELSE statements and count the lows. This will never come out right as written.
I am curious though. What is it about floating point variables that caught your attention? I am just learning micros.
Randy
++++++++++++++++++
Randy,
Please do not start multiple threads on the same topic.
- Forum Moderator
++++++++++++++++++ _________________ Randy Principe
Electrical Engineering Technician
quick answer...
Floating point 'math' consumes a HUGE amount of time with really very,very little benefit. PICs( all 'micros') were NOT designed as heavy math 'crunchers'. Others can point out how to use scaled integers and get far faster/better math.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum