EtchedPixels / FUZIX

FuzixOS: Because Small Is Beautiful
Other
2.15k stars 271 forks source link

Gpio access on the Raspberry pi Pico #1079

Closed napicella closed 2 months ago

napicella commented 2 months ago

resolves #946

Small change to use the gpio interface with the pico. The picoctl binary can be used to turn on/off the pins on the pico, e.g.:

Welcome to FUZIX.
# picoctl
Turn on/off GPIO pins on the pico
Usage: picoctl <PIN> <VALUE>
# picoctl 4 1

which turns pin 4 on.

It also the CONFIG for the pico maker pi board

EtchedPixels commented 2 months ago

Thanks

veremenko-y commented 2 months ago

@napicella I wonder why flash ioctl was removed from picoctl?

EtchedPixels commented 2 months ago

Oops missed that - split them apart and restored the old one so it's now two things