Hi
Does OpenHybrid image support Arduino Bridge function, like Bridge, Process, Console, HttpClient and etc…?
My purpose is to ask ATmega32u4 to send a request to Linino linux to execute a curl command to its node server.
I have two questions here.
- Does Bridge.begin() break the communication between server.js on linux and the code running ATmega32u4?
- How to execute a shell script on arduino linux without breaking the serial port communication with Hybrid
I added a piece of code in hardwareInterfaces/arduinoYun/index.js to deal with the command from serial port and I send a command like Serial.write(“lightTurnOn”).
However, this command only shows on serial monitor, not to linux.
Any idea are welcome. Thank you a lot.
Ivan