Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jklmnn/wiringpi-ada

Ada bindings for wiringPi
https://github.com/jklmnn/wiringpi-ada

ada raspberry-pi raspberrypi wiring-pi wiringpi wiringpi-library

Last synced: about 2 months ago
JSON representation

Ada bindings for wiringPi

Awesome Lists containing this project

README

        

# wiringPi-Ada

This project provides Ada bindings for the [wiringPi](http://wiringpi.com/) 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

## Build

### Shared library

`gprbuild -p -P wiringPi.gpr`

### Example

### GPIO

`cd example && gprbuild -P gpio.gpr && ./gpio`

### Serial

`cd example && gprbuild -P serial.gpr && ./serial `