Skip to content

Instantly share code, notes, and snippets.

@agrif
Created September 18, 2024 07:14
Show Gist options
  • Save agrif/e5d426f847e86805b1971fa87a517420 to your computer and use it in GitHub Desktop.
Save agrif/e5d426f847e86805b1971fa87a517420 to your computer and use it in GitHub Desktop.
#include <stdint.h>
uint32_t* LEDS = 0x10000;
extern void wait(void);
void main(void) {
while (1) {
*LEDS += 1;
wait();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment