Thanks! Just stuck it in GitHub, so it should be live next time I update the site :)
I haven't actually come up with a PS/2 module yet, but the data argument of setWatch was made for exactly this sort of thing. If you setWatch on the PS/2 clock, with data as the data line then you should be able to receive the PS/2 data pretty well.
Looks like I've got (yet another) project to try and squeeze into the Christmas break!
© Espruino, powered by microcosm.
Report a problem