Hardware & Automation
Access physical hardware directly with ErikrafT's manifest-based security model.
GPIO Access
use hw.gpio
fn blink() {
gpio.pin(13).toggle()
}
fn blink() {
gpio.pin(13).toggle()
}
Manifest Permissions
To access hardware, you must declare it in your erik.toml:
[permissions]
hardware.gpio = ["pin.13"]
hardware.gpio = ["pin.13"]