eBoard ①⑧⑨
Written for SIA 2017/2018
eagle_NeoPixel.h File Reference

this file contains the NeoPixel class More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NeoPixel
 [NEO] this allows you to access Adafruit LED-stripes More...
 

Macros

#define EBOARD_NEO_RGB   ((0 << 6) | (0 << 4) | (1 << 2) | (2))
 
#define EBOARD_NEO_RBG   ((0 << 6) | (0 << 4) | (2 << 2) | (1))
 
#define EBOARD_NEO_GRB   ((1 << 6) | (1 << 4) | (0 << 2) | (2))
 
#define EBOARD_NEO_GBR   ((2 << 6) | (2 << 4) | (0 << 2) | (1))
 
#define EBOARD_NEO_BRG   ((1 << 6) | (1 << 4) | (2 << 2) | (0))
 
#define EBOARD_NEO_BGR   ((2 << 6) | (2 << 4) | (1 << 2) | (0))
 
#define EBOARD_NEO_WRGB   ((0 << 6) | (1 << 4) | (2 << 2) | (3))
 
#define EBOARD_NEO_WRBG   ((0 << 6) | (1 << 4) | (3 << 2) | (2))
 
#define EBOARD_NEO_WGRB   ((0 << 6) | (2 << 4) | (1 << 2) | (3))
 
#define EBOARD_NEO_WGBR   ((0 << 6) | (3 << 4) | (1 << 2) | (2))
 
#define EBOARD_NEO_WBRG   ((0 << 6) | (2 << 4) | (3 << 2) | (1))
 
#define EBOARD_NEO_WBGR   ((0 << 6) | (3 << 4) | (2 << 2) | (1))
 
#define EBOARD_NEO_RWGB   ((1 << 6) | (0 << 4) | (2 << 2) | (3))
 
#define EBOARD_NEO_RWBG   ((1 << 6) | (0 << 4) | (3 << 2) | (2))
 
#define EBOARD_NEO_RGWB   ((2 << 6) | (0 << 4) | (1 << 2) | (3))
 
#define EBOARD_NEO_RGBW   ((3 << 6) | (0 << 4) | (1 << 2) | (2))
 
#define EBOARD_NEO_RBWG   ((2 << 6) | (0 << 4) | (3 << 2) | (1))
 
#define EBOARD_NEO_RBGW   ((3 << 6) | (0 << 4) | (2 << 2) | (1))
 
#define EBOARD_NEO_GWRB   ((1 << 6) | (2 << 4) | (0 << 2) | (3))
 
#define EBOARD_NEO_GWBR   ((1 << 6) | (3 << 4) | (0 << 2) | (2))
 
#define EBOARD_NEO_GRWB   ((2 << 6) | (1 << 4) | (0 << 2) | (3))
 
#define EBOARD_NEO_GRBW   ((3 << 6) | (1 << 4) | (0 << 2) | (2))
 
#define EBOARD_NEO_GBWR   ((2 << 6) | (3 << 4) | (0 << 2) | (1))
 
#define EBOARD_NEO_GBRW   ((3 << 6) | (2 << 4) | (0 << 2) | (1))
 
#define EBOARD_NEO_BWRG   ((1 << 6) | (2 << 4) | (3 << 2) | (0))
 
#define EBOARD_NEO_BWGR   ((1 << 6) | (3 << 4) | (2 << 2) | (0))
 
#define EBOARD_NEO_BRWG   ((2 << 6) | (1 << 4) | (3 << 2) | (0))
 
#define EBOARD_NEO_BRGW   ((3 << 6) | (1 << 4) | (2 << 2) | (0))
 
#define EBOARD_NEO_BGWR   ((2 << 6) | (3 << 4) | (1 << 2) | (0))
 
#define EBOARD_NEO_BGRW   ((3 << 6) | (2 << 4) | (1 << 2) | (0))
 
#define EBOARD_NEO_800KHZ   0x0000
 
#define EBOARD_NEO_400KHZ   0x0100
 

Detailed Description

this file contains the NeoPixel class

Last Updated:

Version
3.2.0a

Definition in file eagle_NeoPixel.h.

Macro Definition Documentation

◆ EBOARD_NEO_400KHZ

#define EBOARD_NEO_400KHZ   0x0100
Macro or Constant:
Defines the value to enable 400Khz communication Mode

Definition at line 87 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_800KHZ

#define EBOARD_NEO_800KHZ   0x0000
Macro or Constant:
Defines the value to enable 800Khz communication Mode

Definition at line 85 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BGR

#define EBOARD_NEO_BGR   ((2 << 6) | (2 << 4) | (1 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BGR-Mode

Definition at line 30 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BGRW

#define EBOARD_NEO_BGRW   ((3 << 6) | (2 << 4) | (1 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BGRW-Mode

Definition at line 81 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BGWR

#define EBOARD_NEO_BGWR   ((2 << 6) | (3 << 4) | (1 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BGWR-Mode

Definition at line 79 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BRG

#define EBOARD_NEO_BRG   ((1 << 6) | (1 << 4) | (2 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BRG-Mode

Definition at line 28 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BRGW

#define EBOARD_NEO_BRGW   ((3 << 6) | (1 << 4) | (2 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BRGW-Mode

Definition at line 77 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BRWG

#define EBOARD_NEO_BRWG   ((2 << 6) | (1 << 4) | (3 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BRWG-Mode

Definition at line 75 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BWGR

#define EBOARD_NEO_BWGR   ((1 << 6) | (3 << 4) | (2 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BWGR-Mode

Definition at line 73 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_BWRG

#define EBOARD_NEO_BWRG   ((1 << 6) | (2 << 4) | (3 << 2) | (0))
Macro or Constant:
Defines the amount of needed permutation when com. in BWRG-Mode

Definition at line 71 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GBR

#define EBOARD_NEO_GBR   ((2 << 6) | (2 << 4) | (0 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in GBR-Mode

Definition at line 26 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GBRW

#define EBOARD_NEO_GBRW   ((3 << 6) | (2 << 4) | (0 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in GBRW-Mode

Definition at line 69 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GBWR

#define EBOARD_NEO_GBWR   ((2 << 6) | (3 << 4) | (0 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in GBWR-Mode

Definition at line 67 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GRB

#define EBOARD_NEO_GRB   ((1 << 6) | (1 << 4) | (0 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in GRB-Mode

Definition at line 24 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GRBW

#define EBOARD_NEO_GRBW   ((3 << 6) | (1 << 4) | (0 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in GRBW-Mode

Definition at line 65 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GRWB

#define EBOARD_NEO_GRWB   ((2 << 6) | (1 << 4) | (0 << 2) | (3))
Macro or Constant:
Defines the amount of needed permutation when com. in GRWB-Mode

Definition at line 63 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GWBR

#define EBOARD_NEO_GWBR   ((1 << 6) | (3 << 4) | (0 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in GWBR-Mode

Definition at line 61 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_GWRB

#define EBOARD_NEO_GWRB   ((1 << 6) | (2 << 4) | (0 << 2) | (3))
Macro or Constant:
Defines the amount of needed permutation when com. in GWRB-Mode

Definition at line 59 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RBG

#define EBOARD_NEO_RBG   ((0 << 6) | (0 << 4) | (2 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in RBG-Mode

Definition at line 22 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RBGW

#define EBOARD_NEO_RBGW   ((3 << 6) | (0 << 4) | (2 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in RBGW-Mode

Definition at line 57 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RBWG

#define EBOARD_NEO_RBWG   ((2 << 6) | (0 << 4) | (3 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in RBWG-Mode

Definition at line 55 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RGB

#define EBOARD_NEO_RGB   ((0 << 6) | (0 << 4) | (1 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in RGB-Mode

Definition at line 20 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RGBW

#define EBOARD_NEO_RGBW   ((3 << 6) | (0 << 4) | (1 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in RGBW-Mode

Definition at line 53 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RGWB

#define EBOARD_NEO_RGWB   ((2 << 6) | (0 << 4) | (1 << 2) | (3))
Macro or Constant:
Defines the amount of needed permutation when com. in RGWB-Mode

Definition at line 51 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RWBG

#define EBOARD_NEO_RWBG   ((1 << 6) | (0 << 4) | (3 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in RWBG-Mode

Definition at line 49 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_RWGB

#define EBOARD_NEO_RWGB   ((1 << 6) | (0 << 4) | (2 << 2) | (3))
Macro or Constant:
Defines the amount of needed permutation when com. in RWGB-Mode

Definition at line 47 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_WBGR

#define EBOARD_NEO_WBGR   ((0 << 6) | (3 << 4) | (2 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in WBGR-Mode

Definition at line 45 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_WBRG

#define EBOARD_NEO_WBRG   ((0 << 6) | (2 << 4) | (3 << 2) | (1))
Macro or Constant:
Defines the amount of needed permutation when com. in WBRG-Mode

Definition at line 43 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_WGBR

#define EBOARD_NEO_WGBR   ((0 << 6) | (3 << 4) | (1 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in WGBR-Mode

Definition at line 41 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_WGRB

#define EBOARD_NEO_WGRB   ((0 << 6) | (2 << 4) | (1 << 2) | (3))
Macro or Constant:
Defines the amount of needed permutation when com. in WGRB-Mode

Definition at line 39 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_WRBG

#define EBOARD_NEO_WRBG   ((0 << 6) | (1 << 4) | (3 << 2) | (2))
Macro or Constant:
Defines the amount of needed permutation when com. in WRBG-Mode

Definition at line 37 of file eagle_NeoPixel.h.

◆ EBOARD_NEO_WRGB

#define EBOARD_NEO_WRGB   ((0 << 6) | (1 << 4) | (2 << 2) | (3))
Macro or Constant:
Defines the amount of needed permutation when com. in WRGB-Mode

Definition at line 35 of file eagle_NeoPixel.h.