📦 Archived documentation: r1 (committed 2026-10-07) View current documentation →

Analog Inputs

Available on: Flexs Q5M
print( string( io.ch1 ) );

/*
{"max":0.000000,"min":-0.000000,"avg":-0.000000,"raw":0,"inst":-0.000000,"err":0}
*/

while(run()){

  if(io.ch1.inst > 20 ){

	print("Ch1 Value above 20");

  } else {

    print("Ch1 Value below 20");

  }


  waitMS(100);


}