RTM_TimerCalc V 1.30 Version In The Works

1 post / 0 new
Runtime Micro's picture
Runtime Micro
Offline
Joined: 07/24/2016 - 9:18am
RTM_TimerCalc V 1.30 Version In The Works

I am now developing Version 1.30 of RTM_TimerCalc.

Image shows proposed version 1.3 of RTM_TimerCalc

This effort will address the following issues;

  • Locale problems (aka culture in VB.Net) causing commas to appear where periods belong in generated C++ Code
  • External Input-Pin clocking (InPin) of either Timer-1 (Nano, Uno) or Timer-5 (Mega 2560).
  • Change in display of Scientific Notation (lower case e instead of current upper case E).

Other improvements will be made regarding error amounts and max-min frequencies you can reach.

Arduino Timer Interval Features

Recent testing made me realize RTM_TimerCalc could do more in the area of Intervals. I sometimes encounter folks looking for Intervals in Seconds, Minutes and even 24 Hours. With Version 1.3, I'm adding the ability to express your 'ask Parameter' in terms of uSec, mSec, Seconds, Minutes and Hours. The callout for Interval on the chart will also follow these same unit dimensions.

Image shows new Interval selections on RTM_TimerCalc V1.30 ...

Because we can now use the External InPin (my way to say External Input Pin) on Timers 1 and 5, its quite doable to create Timers that take Minutes and even Hours to complete a single cycle. With a Nano or Uno, you'd likely need an external clock of (say 1 Hz) to trigger Timer1. But with a Mega 2560, its easy to generate a 1 Second pulse (Timers 1,3 or 4) and route it to the InPin of Timer5. This means a 24 Hour Timer is easy to create without relying on Delay or milliSec to get the job done.

In Closing

I will -likely- not be trying to fix flaws called out for Wine operation under Linux (sorry).

Once finished (and tested), I expect the release to be sometime in Q1 2021.

If you know of any other bugs in RTM_TimerCalc, please let me know either in the appropriate Forum or through the Contact page on this site.

Thanks!

Lee