Last active
October 2, 2019 17:11
-
-
Save jakabo27/9f03ad4cdcf5b3100fbb07a4ab370789 to your computer and use it in GitHub Desktop.
This file contains 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
void ISR THINGY JacobIsCool(void) { | |
//Turn on all 4 lights | |
// wait a second | |
//Clear flag | |
} | |
main(){ | |
//Set LED Pins to OUTPUT | |
//Set the interrupt pin to input | |
/* Tell controller Interrupts can happen */ | |
/*Set up microcontroller interrupts*/ - Let int# happen, enable it, set its flag, priority | |
while(1){ | |
//count from 0 to 15 on a loop in binary | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment