Skip to content

Instantly share code, notes, and snippets.

@jakabo27
Last active October 2, 2019 17:11
Show Gist options
  • Save jakabo27/9f03ad4cdcf5b3100fbb07a4ab370789 to your computer and use it in GitHub Desktop.
Save jakabo27/9f03ad4cdcf5b3100fbb07a4ab370789 to your computer and use it in GitHub Desktop.
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