TelluIoT / ThingML

The ThingML modelling language
https://github.com/TelluIoT/ThingML
Apache License 2.0
102 stars 32 forks source link

Arduino "Timer" plugin should not use a HW timer when only soft timers are declared #147

Closed ffleurey closed 5 years ago

ffleurey commented 7 years ago

It seems that as soon as the Timer plugin is used, it automatically uses one of the HW timers (whichon can be customized with the annotation @hardware_timer on the connector).

However, it should not use a HW timer is only the soft timers messages are defined. I.e. no messages with @xms_tic "XX" annotation.

ffleurey commented 7 years ago

Note: the soft timer make use of millis() and do not need any new timer interrupt to be implemented.

brice-morin commented 5 years ago

I assume this issue is now deprecated with the timer in the STL