I bought a cheap breakout for a temperature sensor and had no manual or other indication of which I2C address is used. So i wrote code to scan all I2C addresses and because it helped me i pimped it a little and made a ready to use module for everyone who might need it in the future.
You can grab the code, usage example and options documentation here.
Nice - thanks!
Interesting eslint configuration. I use very simple eslint config for espruino, but I'll consider using your file.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem