This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// !!! | |
// Scroll down past where the alphabet is defined in order to set what to say | |
// !!! | |
#define CHAR_WIDTH 5 // each character is 5 columns wide | |
#define SP {0, 0, 0, 0, 0} //Space | |
#define DOT {0, 0, 1, 0, 0} //Space | |
#define EX {0, 125, 0, 0, 0} //Exclamation ! | |
#define EX2 {0, 125, 0, 125, 0} //Exclamation !! | |
#define A {31, 36, 68, 36, 31} | |
#define B {127, 73, 73, 73, 54,} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int RED_PIN = 9; | |
const int GREEN_PIN = 10; | |
const int BLUE_PIN = 11; | |
const int MAX_VAL=255; | |
void setup() { | |
// initialize digital pins as output: | |
for (int i = PIN_BASE; i <= PIN_BASE+PIN_CT; i++) { |
NewerOlder