You are right. I will have to delegate it to some utility classes. This project is mostly in my head at this time so you probably saved me some trouble later on.
I also realized that using pinMode is a good idea, wasn't even aware of it.
Am I right thinking that onInit is a good place for pin mode configuration?
© Espruino, powered by microcosm.
Report a problem