giuliomoro
Thanks for having a look! No joy unfortunately; I made the changes you suggested, with the code now as follows:
analogWriteOnce(context, n, gTriggerAnalogOutChannel, HIGH); //write the status to the trig pin
} else {
analogWriteOnce(context, n, gTriggerAnalogOutChannel, LOW); //write the status to the trig pin
however the result is the same: no errors, but no data either in the scope or in print. I poked around a bit and experimented, with more checking back and forth. I can't seem to find what's amiss...