基于arduino uno + WS2812b RGB灯带单一颜色跑马灯控制程序
有人可能喜欢看单一效果显示的,花样太多了,看着看着审美疲劳。
效果是单一颜色灯,注意点亮,全亮后,又灭,有逐一点亮反复的效果。
Adafruit_NeoPixel库下载地址:/adafruit/Adafruit_NeoPixel
// NeoPixel Ring simple sketch (c) Shae Erisson// Released under the GPLv3 license to match the rest of the// Adafruit NeoPixel library// This sketch shows use of the "new" operator with Adafruit_NeoPixel.// Its helpful if you don know NeoPixel settings at compile time or// just want to store this settings in EEPROM or a file on an SD card.