I am reading pins 2-13 from a connected Arduino using DeviceRead from a script file (*.wl)..
However, nothing is output with regard to the values that are read from the Arduino. Where is the output? How can that output be used in the script?
I am runnning Wolfram v10.3 on a Raspberry Pi3, connected to an Arduino UNO via /dev/ttyACM0.
The script file contains
arduino=DeviceOpen["Arduino", "/dev/ttyACM0"];
DeviceRead[arduino,{2,3,4,5,6,7,8,9,10,11,12,13}];
Is output produced by the DeviceRead? If so, where does that output go?
The above commands work fine when run via the on-line (interactive) Wolfram Language program.