// PROJECT :MatrixMadeEZ // PURPOSE :In Class demo program of the MatrixMadeEZ Device (original design by H. Reed) // RESULT :First 'LIMIT' rows of the main diagonal should light up as bright as possible // AUTHOR :C. D'Arcy for in-class development // DATE :Last Update: 2022 12 05 // uC :328P // STATUS :Not Working. Partially commented. // REFERENCE:https://cdn-shop.adafruit.com/datasheets/1079datasheet.pdf // COMPILER PREPROCESSORS #define POTSPEEDVCC A0 //software supply #define POTSPEEDIN A1 // #define POTSPEEDGND A2 //software supply #define POTDIMIN A5 //hardware supply #define DIMMING 0 //0:bright, 250ish:dim #define PACE 0 //0:as fast as possible, 50:to observe scanning #define MMEZDIM 6 //to /G on TPIC #define MMEZDATA 11 // #define MMEZLATCH 8 // #define MMEZCLOCK 5 // #define LIMIT 4 //adjust for numbers of rows (length of main diagonal) (1-8) uint8_t row = 0; //to scan the main diagonal... uint8_t colData; //...equate the row and column coordinates void setup() { Serial.begin(9600); while (!Serial); } void loop() { }