makewitharduino / BlocklyDuino

BlocklyDuino is a web-based visual programming editor for arduino.
code.makewitharduino.com
7 stars 5 forks source link

NeoPixelブロックの色指定 #12

Closed okhiroyuki closed 9 years ago

okhiroyuki commented 9 years ago

クラス作成時の引数で、NEO_RGBを使用してた。 Ver2以降は、NEO_GRBを指定すべき。 // NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) // NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) // NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products) // NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)