For the SPI communication, take a look at Espruino's SPI doc. With Puck you use all software defined SPIs. ('Finished' the pseudo code).
First develop the module inline, and then later you wrap it into a module context and provide a .connect() method like many other device modules have - nothing wrong w/ logical copy paste ... --- is just applying patterns
--- is just applying patterns
Looking forward to read your posts about the project's progress...
© Espruino, powered by microcosm.
Report a problem