RasPiArduino
RasPiArduino copied to clipboard
Example sketch Bridge -> Process not working
There is a sample sketch provided as part of the Bridge library called "Process". It is supposed to run the curl app and log its response and then cat the cpuinfo file. Both of these are supposed to be logged upon completion. When the sketch is run, no output appears. This needs further investigation.
Hi @all,
I also did some testing with the Process stuff. And at the first view it did not work for me, too. Used the Process Sample and I got no result.
Then I added a delay(100) after the Bridge.begin(); ... And it worked.
You got the same effect if you add some Serial.println statements before the first Process call.
Are there any time critical parts in the Bridge or Process Class? Would be great if this could be fixed.
Dominik