Analog Outputs
print( string( io.ch1 ) );
/*
{"raw":0.000366,"val":0,"err":0}
*/
while(run()){
io.ch1.val = 100; // Set output ch1 to 100% of output range
waitMS(100);
}
print( string( io.ch1 ) );
/*
{"raw":0.000366,"val":0,"err":0}
*/
while(run()){
io.ch1.val = 100; // Set output ch1 to 100% of output range
waitMS(100);
}