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
| //Author: Khoa Nguyen | |
| //Project: LED Display Box Controlled by Remote!!! | |
| #include <IRremote.h> | |
| #include <MD_MAX72xx.h> | |
| #include <MD_Parola.h> | |
| #include <SPI.h> | |
| #define ENA_MISC 1 ///< Enable miscellaneous animations | |
| #define ENA_WIPE 1 ///< Enable wipe type animations |
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
| //library for IR recieve | |
| #include <IRremote.h> | |
| const int RECV_PIN = 7; | |
| IRrecv irrecv(RECV_PIN); | |
| decode_results results; | |
| void setup(){ | |
| Serial.begin(9600); | |
| irrecv.enableIRIn(); |
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
| //Author: Khoa Nguyen | |
| //Project: Light Outs Game!!! | |
| #include <LedControl.h> | |
| #include <Keypad.h> | |
| //LED | |
| unsigned long delaytime = 1000; | |
| int LED_blue = 12; | |
| int LED_red = 13; | |
| int DIN =11; |