Add basic hex digit code

This commit is contained in:
Byron Lathi
2022-03-11 18:25:47 -06:00
parent 58362d2ac8
commit bf28201832

View File

@@ -1,3 +1,11 @@
#define SEVEN_SEG 0x7ff0
#include <stdint.h>
int main() {
uint16_t* seven_seg;
seven_seg = (uint16_t*)SEVEN_SEG;
*seven_seg = 0xa5a5;
return 0;
}