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 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.
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.)