Thank you Robin for your reply. It's really very helpful for me.
I have successfully change the color by using the neopixel write() function.
There is a setBrightness() function in the original arduino library,
How can I use the setBrightness() function to change the LED brightness in Espruino?
Thank you.
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.
Thank you Robin for your reply. It's really very helpful for me.