Got it, thanks! Kind man =)
Just confused by the designation "TCS3472x" in "var tcs=require("TCS3472x").connect(I2C1, 1 /integration cycles/, 1 /gain/);", and I did not understand how I could access a library that I did not find in the libraries connected in espruino/modules, and did not understand how it works inside the program.
Now, at least I know that I don't need to install anything extra, thanks to you.
I will continue to study JS and Espruino.)
© Espruino, powered by microcosm.
Report a problem