ableos/sysdata/programs/rtc_driver/src/main.hb
2024-12-01 06:45:34 -06:00

12 lines
201 B
Plaintext

stn := @use("../../../libraries/stn/src/lib.hb");
.{sleep, log, memory} := stn
main := fn(): int {
loop {
log.info("BEFORE\0")
sleep.sleep_until_interrupt(8)
log.info("AFTER\0")
}
return 0
}