• Great - glad it's going!

    To send from Espruino I'd just use digitalPulse(pin, 1, array_of_data) where you give it an array of times in msec for on,off,on,off,on and so on...

    To read it back you could take a look at the little oscilloscope page I made: https://github.com/espruino/webaudio-osc­illoscope

    It basically just detects the large changes in the signal caused by the transition from 0 to 1 and vice versa. Currently you're using buffers - so you might be able to do something similar I guess (the oscilloscope reads continuously)

About

Avatar for Gordon @Gordon started