In Web IDE with firmware version 0.4.9 this program:
#include "freertos4core/freertos4core.h"
Timer timer(8, display);
void setup() {
timer.start();
}
void loop() {}
void display() {}
Fails to compile with:
/tmp/cctea2TV.ltrans29.ltrans.o: In function `__base_ctor ':
/mnt/compile-service-shared-workspace/0_core__24_2/firmware/main/../wiring/inc/spark_wiring_timer.h:34: undefined reference to `os_timer_create'
collect2: error: ld returned 1 exit status
make[1]: *** [ec50bffabc11002d8f035fdb29461858bda47e70132341b3613482a2ab52.elf] Error 1
make: *** [main] Error 2
The reference guide implies this should work:Software Timers
Can anyone help me resolve this?
Thanks,
Chris