开发者ID:CNG,项目名称:arduino-examples,代码行数:29,代码来源:strip_functions.cpp 示例2: qDebug ▲点赞 6▼ voidLEDControl::detectPath() { qDebug() <<"detectPath called";// get the name of this hardware from the /etc/hw-release fileQSettingshwFile("/etc/hw-release", QSettings::IniFo...
voidsetup(){// Arduino_h is only defined when compiling the sketch in the Arduino IDE.#ifndefArduino_h// Select line, circle or grid pixel layout for emulator.// pixels.setPixelLayout(Strip);pixels.setPixelLayout(Ring);// pixels.setPixelLayout(Grid);#endifpixels.begin();//setBrightness()...