Does rosserial_mbed support SPI interface?
Hi,
I have a program that could build and run successfully on mbed with online compiler, which is a simple SPI interface communication with serial output.
After tested on mbed, i want to run this SPI code on rosserial mbed:
- I copied the SPI communication code which only use mbed.h SPI functions
- I included this SPI class file and h file into a rosserial mbed example project directory, with proper int message
- I could build this message -> SPI code successfully, and uploaded to my mcu, and it runs (LED on was OK)
- >>>Here's the wired part, I could not read any clock or mosi/miso signal on my logic, and msg output was a consistent random number every time rebuild the project.
My question is: I have not required programming knowledge to read and understand the whole stack of rosserial implementation, so i have to ask if doing by so (importing SPI from mbed) is not doable due to: 1. current implementation of rosserial is not supported 2. my makefile/package.xml/Cmake need to be modified from /rosserial_mbed/example stock configuration?
Thanks in advance.