This project provides Ada bindings for the wiringPi GPIO library.
The bindings are not complete, currently supported functions are
- Pi:
- wiringPiSetup
- wiringPiSetupGpio
- wiringPiSetupPhys
- pinMode
- digitalWrite
- digitalRead
- Serial
- serialOpen
- serialClose
- serialPutchar
- serialPuts
- serialDataAvail
- serialGetchar
- serialFlush
gprbuild -p -P wiringPi.gpr
cd example && gprbuild -P gpio.gpr && ./gpio
cd example && gprbuild -P serial.gpr && ./serial <device> <baud rate>