Email or username:

Password:

Forgot your password?
(wryl)

#modal on a micro-controller would be fascinating. @neauoire has built the C implementation to fit in a static memory footprint.

If GPIO registers were added, we could do some clever things..

<> (blink LED ?n) (blink/w ?n (toggle pin ?n))
<> (blink/w ?n ()) (blink LED ?n)

<> (toggle pin ?n) (toggle/q (pin state ?n))
<> (toggle/q (pin ?n low)) (set pin ?n high)
<> (toggle/q (pin ?n high)) (set pin ?n low)

blink LED 0
blink LED 1
blink LED 2
blink LED 3

2 comments
Go Up