From f03d9cabd7a39044639fca6e4ad9f2103cbcd414 Mon Sep 17 00:00:00 2001 From: Stefan Kremser Date: Mon, 23 Apr 2018 08:30:46 +0200 Subject: [PATCH] Note about Neopixel parameters --- configs/DSTIKE_Deauther_OLED_v1-v1.5/A_config.h | 10 +++++++++- configs/DSTIKE_Deauther_OLED_v2-v3/A_config.h | 10 +++++++++- .../DSTIKE_Deauther_OLED_v3.5_+_Monster/A_config.h | 10 +++++++++- .../A_config.h | 10 +++++++++- configs/Default/A_config.h | 11 ++++++++++- esp8266_deauther/A_config.h | 10 +++++++++- 6 files changed, 55 insertions(+), 6 deletions(-) diff --git a/configs/DSTIKE_Deauther_OLED_v1-v1.5/A_config.h b/configs/DSTIKE_Deauther_OLED_v1-v1.5/A_config.h index 3640f5a..20d9669 100644 --- a/configs/DSTIKE_Deauther_OLED_v1-v1.5/A_config.h +++ b/configs/DSTIKE_Deauther_OLED_v1-v1.5/A_config.h @@ -41,7 +41,15 @@ // === Settings for Neopixel LED === // #define LED_NEOPIXEL_NUM 1 #define LED_NEOPIXEL_PIN 9 -// if it doesn't work try changing NEO_GRB to NEO_GRBW + +// Parameter 1 = number of pixels in strip +// Parameter 2 = Arduino pin number (most are valid) +// Parameter 3 = pixel type flags, add together as needed: +// 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) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) #define LED_NEOPIXEL Adafruit_NeoPixel(LED_NEOPIXEL_NUM, LED_NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800) // ===================== DISPLAY CONFIG ==================== // diff --git a/configs/DSTIKE_Deauther_OLED_v2-v3/A_config.h b/configs/DSTIKE_Deauther_OLED_v2-v3/A_config.h index 56852d7..3eb36d2 100644 --- a/configs/DSTIKE_Deauther_OLED_v2-v3/A_config.h +++ b/configs/DSTIKE_Deauther_OLED_v2-v3/A_config.h @@ -41,7 +41,15 @@ // === Settings for Neopixel LED === // #define LED_NEOPIXEL_NUM 1 #define LED_NEOPIXEL_PIN 9 -// if it doesn't work try changing NEO_GRB to NEO_GRBW + +// Parameter 1 = number of pixels in strip +// Parameter 2 = Arduino pin number (most are valid) +// Parameter 3 = pixel type flags, add together as needed: +// 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) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) #define LED_NEOPIXEL Adafruit_NeoPixel(LED_NEOPIXEL_NUM, LED_NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800) // ===================== DISPLAY CONFIG ==================== // diff --git a/configs/DSTIKE_Deauther_OLED_v3.5_+_Monster/A_config.h b/configs/DSTIKE_Deauther_OLED_v3.5_+_Monster/A_config.h index 661451a..0dddf50 100644 --- a/configs/DSTIKE_Deauther_OLED_v3.5_+_Monster/A_config.h +++ b/configs/DSTIKE_Deauther_OLED_v3.5_+_Monster/A_config.h @@ -41,7 +41,15 @@ // === Settings for Neopixel LED === // #define LED_NEOPIXEL_NUM 1 #define LED_NEOPIXEL_PIN 15 -// if it doesn't work try changing NEO_GRB to NEO_GRBW + +// Parameter 1 = number of pixels in strip +// Parameter 2 = Arduino pin number (most are valid) +// Parameter 3 = pixel type flags, add together as needed: +// 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) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) #define LED_NEOPIXEL Adafruit_NeoPixel(LED_NEOPIXEL_NUM, LED_NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800) // ===================== DISPLAY CONFIG ==================== // diff --git a/configs/DSTIKE_Deauther_v3_+_DSTIKE_NodeMCU-07_v2/A_config.h b/configs/DSTIKE_Deauther_v3_+_DSTIKE_NodeMCU-07_v2/A_config.h index 36914b9..d2d4e3d 100644 --- a/configs/DSTIKE_Deauther_v3_+_DSTIKE_NodeMCU-07_v2/A_config.h +++ b/configs/DSTIKE_Deauther_v3_+_DSTIKE_NodeMCU-07_v2/A_config.h @@ -41,7 +41,15 @@ // === Settings for Neopixel LED === // #define LED_NEOPIXEL_NUM 1 #define LED_NEOPIXEL_PIN 15 -// if it doesn't work try changing NEO_GRB to NEO_GRBW + +// Parameter 1 = number of pixels in strip +// Parameter 2 = Arduino pin number (most are valid) +// Parameter 3 = pixel type flags, add together as needed: +// 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) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) #define LED_NEOPIXEL Adafruit_NeoPixel(LED_NEOPIXEL_NUM, LED_NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800) // ===================== DISPLAY CONFIG ==================== // diff --git a/configs/Default/A_config.h b/configs/Default/A_config.h index 9c5f670..4898d3f 100644 --- a/configs/Default/A_config.h +++ b/configs/Default/A_config.h @@ -41,7 +41,16 @@ // === Settings for Neopixel LED === // #define LED_NEOPIXEL_NUM 1 #define LED_NEOPIXEL_PIN 9 -// if it doesn't work try changing NEO_GRB to NEO_GRBW + + +// Parameter 1 = number of pixels in strip +// Parameter 2 = Arduino pin number (most are valid) +// Parameter 3 = pixel type flags, add together as needed: +// 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) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) #define LED_NEOPIXEL Adafruit_NeoPixel(LED_NEOPIXEL_NUM, LED_NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800) // ===================== DISPLAY CONFIG ==================== // diff --git a/esp8266_deauther/A_config.h b/esp8266_deauther/A_config.h index 783fb81..90484be 100644 --- a/esp8266_deauther/A_config.h +++ b/esp8266_deauther/A_config.h @@ -41,7 +41,15 @@ // === Settings for Neopixel LED === // #define LED_NEOPIXEL_NUM 1 #define LED_NEOPIXEL_PIN 9 -// if it doesn't work try changing NEO_GRB to NEO_GRBW + +// Parameter 1 = number of pixels in strip +// Parameter 2 = Arduino pin number (most are valid) +// Parameter 3 = pixel type flags, add together as needed: +// 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) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) #define LED_NEOPIXEL Adafruit_NeoPixel(LED_NEOPIXEL_NUM, LED_NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800) // ===================== DISPLAY CONFIG ==================== //