/OneMsTaskTimer

This is a copy of the OneMsTaskTimer library that is included with the Energia application.

Primary LanguageC++

OneMsTaskTimer Library

Arduino Compile Sketches Check Markdown Links

This is a copy of the OneMsTaskTimer library that is included with the Energia application.

Texas Instruments MSP430 and Tiva microcontrollers can be compiled using the Arduino IDE/CLI by installing the relevant platform cores through the Boards Manager. However, the OneMsTaskTimer library is included in the Energia application itself, and not the specific platform core. This means that if you install the MSP430 or Tiva core, you don't end up getting the OneMsTaskTimer library. So a sketch that used that library and compiled fine on Energia would not compile on Arduino without some additional steps.

So I am publishing this library separately so that it can be easily installed as a library for the Arduino IDE or CLI. This also makes it available for use in GitHub workflow actions.

Usage

See the sketches in the examples folder.

License

The library source code (OneMsTaskTimer.cpp and OneMsTaskTimer.h) is licensed under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

The example sketches (OneMsTaskTimerBlink.ino and OneMsTaskTimerBlink_1ms.ino) are in the public domain.