Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I have a class definition with a ticker object declard in the task as well as a function inside the task. I get a compile error when I call the attach function.
Sequence.h
class Sequence { public: // construction/destruction Sequencer( void ); ~Sequencer( void ); private: Ticker tickSeq; // ticker void ProcessTicker( void ); }Sequence.c
Sequence::Sequence( ) { // create the ticker tickSeq.attach( &ProcessTicker, 1.0 ); }