Main code link
Animation module link
Letters module link
Symbols module link
/* * Code by Brian Patton * modified from example code included in examples for the LedControl library * Created 4/13/2016 * Do whatever you wish with it */ //************************************************************ //**************** Capital Letters *********************** //************************************************************ void prtA(int device) { byte capA[8] = {B00000000, B00000000, B00111111, B01001000, B10001000, B01001000, B00111111, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capA[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtB(int device) { byte capB[8] = {B00000000, B00000000, B01101110, B10010001, B10010001, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capB[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtC(int device) { byte capC[8] = {B00000000, B00000000, B01000010, B10000001, B10000001, B01111110, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capC[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtD(int device) { byte capD[8] = {B00000000, B00000000, B01111110, B10000001, B10000001, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capD[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtE(int device) { byte capE[8] = {B00000000, B00000000, B10010001, B10010001, B10010001, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capE[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtF(int device) { byte capF[8] = {B00000000, B00000000, B10010000, B10010000, B10010000, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capF[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtG(int device) { byte capG[8] = { B00000000, B00000000, B01001110, B10001001, B10000001, B01111110, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capG[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtH(int device) { byte capH[8] = { B00000000, B00000000, B11111111, B00010000, B00010000, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capH[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtI(int device) { byte capI[8] = { B00000000, B00000000, B00000000, B10000001, B11111111, B10000001, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capI[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtJ(int device) { byte capJ[8] = { B00000000, B00000000, B00000000, B11111110, B00000001, B00000010, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capJ[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtK(int device) { byte capK[8] = { B00000000, B00000000, B11000011, B00100100, B00011000, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capK[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtL(int device) { byte capL[8] = { B00000000, B00000000, B00000001, B00000001, B00000001, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capL[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtM(int device) { byte capM[8] = { B11111111, B01000000, B00100000, B00011111, B00100000, B01000000, B11111111, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capM[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtN(int device) { byte capN[8] = { B00000000, B11111111, B00000100, B00001000, B00010000, B00100000, B11111111, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capN[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtO(int device) { byte capO[8] = { B00000000, B00000000, B01111110, B10000001, B10000001, B10000001, B01111110, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capO[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtP(int device) { byte capP[8] = { B00000000, B00000000, B01110000, B10001000, B10001000, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capP[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtQ(int device) { byte capQ[8] = { B00000000, B00000001, B01111110, B10000001, B10000001, B10000001, B01111110, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capQ[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtR(int device) { byte capR[8] = { B00000000, B00000001, B01110010, B10001100, B10001000, B11111111, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capR[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtS(int device) { byte capS[8] = { B00000000, B00000000, B01000110, B10001001, B10010001, B01100010, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capS[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtT(int device) { byte capT[8] = { B00000000, B00000000, B10000000, B10000000, B11111111, B10000000, B10000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capT[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtU(int device) { byte capU[8] = { B00000000, B00000000, B11111110, B00000001, B00000001, B11111110, B00000000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capU[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtV(int device) { byte capV[8] = { B11110000, B00000100, B00000010, B00000001, B00000010, B00000100, B11111000, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capV[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtW(int device) { byte capW[8] = { B00000000, B11111111, B00000010, B00000100, B11111000, B00000100, B00000010, B11111111}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capW[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtX(int device) { byte capX[8] = { B00000000, B10000001, B01000010, B00100100, B00011000, B00100100, B01000010, B10000001}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capX[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtY(int device) { byte capY[8] = { B00000000, B10000000, B01000000, B00100000, B00011111, B00100000, B01000000, B10000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capY[i]); //setRow(int addr, int row, byte value); } } //************************************ void prtZ(int device) { byte capZ[8] = { B00000000, B11000001, B10100001, B10010001, B10001001, B10000101, B10000011, B00000000}; for (int i = 0; i < 8; i++) { lc1.setRow(device, i, capZ[i]); //setRow(int addr, int row, byte value); } }