I have a temp sensor hooked to my Edison Arduino breakout board and I can successfully output my temp sensor data to a Putty serial terminal. I would now like to send the temp sensor using serial communication to a nodejs script running on the Edison. I have nodejs and mraa installed, I have no idea what the nodejs API is to read/write from the Serial port on the Arduino breakout board is. Can someone please point me in the right direction to learn more about the mraa nodejs API and an example how to read/write from the Arduino breakout board Serial port?
↧