10 #define RED_LED_OFF() writePinHigh(F6)
11 #define RED_LED_ON() writePinLow(F6)
12 #define BLU_LED_OFF() writePinHigh(F5)
13 #define BLU_LED_ON() writePinLow(F5)
14 #define GRN_LED_OFF() writePinHigh(D1)
15 #define GRN_LED_ON() writePinLow(D1)
17 #define SET_LED_OFF (RED_LED_OFF(); GRN_LED_OFF(); BLU_LED_OFF(); )
18 #define SET_LED_RED (RED_LED_ON(); GRN_LED_OFF(); BLU_LED_OFF(); )
19 #define SET_LED_BLUE (RED_LED_OFF(); GRN_LED_OFF(); BLU_LED_ON(); )
20 #define SET_LED_GREEN (RED_LED_OFF(); GRN_LED_ON(); BLU_LED_OFF(); )
21 #define SET_LED_YELLOW (RED_LED_ON(); GRN_LED_ON(); BLU_LED_OFF(); )
22 #define SET_LED_MAGENTA (RED_LED_ON(); GRN_LED_OFF(); BLU_LED_ON(); )
23 #define SET_LED_CYAN (RED_LED_OFF(); GRN_LED_ON(); BLU_LED_ON(); )
24 #define SET_LED_WHITE (RED_LED_ON(); GRN_LED_ON(); BLU_LED_ON(); )
26 // This a shortcut to help you visually see your layout.
27 // The first section contains all of the arguements
28 // The second converts the arguments into a two-dimensional array
36 { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16 } \