MicroPython Cookbook
上QQ阅读APP看书,第一时间看更新

Setting the brightness of the NeoPixel

Controlling the brightness of the pixels will be the theme of this recipe. It is important to be able to set the brightness of the pixels depending on the need of the project. Note that you will have to change the brightness to a level that is bright enough so that the pixels are clearly visible, but not so bright that it causes discomfort.