We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a531ed6 commit 5355473Copy full SHA for 5355473
src/examples/rtcinterrupt/rtcinterrupt.go
@@ -24,7 +24,9 @@ func main() {
24
25
// Schedule and enable recurring interrupt.
26
// The callback function is executed in the context of an interrupt handler,
27
- // so regular restructions for this sort of code apply: no blocking, no memory allocation, etc.
+ // so regular restrictions for this sort of code apply: no blocking, no memory allocation, etc.
28
+ // Please check the online documentation for the details about interrupts:
29
+ // https://tinygo.org/docs/concepts/compiler-internals/interrupts/
30
delay := time.Minute + 12*time.Second
31
machine.RTC.SetInterrupt(uint32(delay.Seconds()), true, func() { println("Peekaboo!") })
32
0 commit comments