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.
7 years, 12 months ago.
Problem with class Serial and method attach
When i attach a mehod on a class serial, the Disco crash :
wifi.attach(this,&Wifly::handler_rx,Serial::RxIrq);
The compileur say me : Warning: Function "mbed::SerialBase::attach(T *, void (T::*)(), mbed::SerialBase::IrqType) [with T=Wifly]" (declared at <a href="#" onmousedown="mbed_doc_goto('/DISCO-F746NG_Wifiextras/mbed_d75b3fe1f5cb/drivers/SerialBase.h', '117'); return false;">/extras/mbed_d75b3fe1f5cb/drivers/SerialBase.h:117</a>) was declared "deprecated" in "WiflyInterface/Wifly/Wifly.cpp", Line: 441, Col: 15
How write with mbed os 5.1 ?
I would also like to know !
posted by John Doe 17 Feb 2017