I’m hoping someone may be able to help with guidance on how to port an OS2 library to OS5 / 6?
Software Serial
use of undeclared identifier ‘us_ticker_read’, yet it appears to be still part of OS5. Along with how to replace the depreciated FunctionPoint to Callbacks?
Ok, I’m getting there slowly but now have an issue which I hope someone will be able to help with. I’ve converted all of the FunctionPointers to CallBack<void()> and fixed the rx->fall. But now I get the error:
default constructor of ‘FlexTicker’ is implicitly deleted because base class ‘mbed::TimerEvent’ has no default constructor
Hi,
my test program is using ‘us_ticker_read()’ without an error on OS6.8.0 & 6.9.0.
Please compile my program using online compiler.
If you still have a problem, please check your environment.
I have successfully compiled your code locally with OS 6.9.0. However 5.15.3 fails to compile and also fails on the online compiler when switched to that version.
I’ve adapted SoftSerial with your fixes and it now compiles successfully on OS 5. Now to testing if it actually works. Greatly appreciate your time and help with this !!!
I am adding features to my soon to be released CNC firmware (Remora). For TMC2209 stepper drivers I need software serial to individually configure 5 of the drivers over standard IO.
I’ve had some success with an interrupt polled simple software serial. Hopefully it will work for what I need. Just need to convert it into a class now.