Faiure compiling TICKER.INO

Hello,

I am not a experienced programmer. I am trying to get ticker.ino, from the library "TICKER", to run on my ARDUINO NANO BLE33. But receiving errors during comilation:

.. error: 'Ticker' does not name a type
Ticker timer1(printMessage, 0, 1);

The background is, I am trying to generate a very precise digital waveform output, with sample times less than 100µs.

Thank you!

Welcome to the forum

Please post the sketch that you are trying to compile

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum

Your Arduino Nano BLE33 uses the MBED OS so this library is not designed for that board. If you look at the documentation on github, it states that MBED boards should use the TickTwo library instead.

Install that library for your Nano BLE33

Thank you. Got it. I ve missed that information in the documentation.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.