So I finally simplified my code down to this:
And still, all I see returned is:
Code: Select all
function onTick() setGpio(0, 1) println("Oil Warn " ..getGpio(0)) end
Oil Warn 0.0
What am I doing wrong??? The channel is on, the sample rate is 1hz, and the mode is output....
Going crazy here!