I bought modules with different I2C addresses than the Crius module. I could change the address in the ssd1306.js, but then I think I have to store this somewhere locally. But one can define only one modules location in WebIDE, so I have to store all modules locally.
Am I right? If not, how can I do this? Or would it be better to change the module with an address parameter in the .connect function?
Sorry for this noob question, I'm new in event driven JavaScript. Be aware, more noob questions to come ;-)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I bought modules with different I2C addresses than the Crius module. I could change the address in the ssd1306.js, but then I think I have to store this somewhere locally. But one can define only one modules location in WebIDE, so I have to store all modules locally.
Am I right? If not, how can I do this? Or would it be better to change the module with an address parameter in the .connect function?
Sorry for this noob question, I'm new in event driven JavaScript. Be aware, more noob questions to come ;-)