smol-gilbraltar/test/test01.c
2024-12-20 23:45:12 +01:00

15 lines
332 B
C

#include <led.h>
#include <timer.h>
/* The kernel should start and the LED should blink.
* The time between blinks should be "fairly" long (around 1s).
*/
void main(void) {
while (1) {
gilbraltar_led(false);
gilbraltar_delay_hot_loop(0x3f0000);
gilbraltar_led(true);
gilbraltar_delay_hot_loop(0x3f0000);
}
}