Version 3 of piio

Updated 2016-10-05 19:41:47 by dzach

piio by Schelte Bron is a library for accessing a couple of the I/O possibilities of the Raspberry Pi. The library supports both gpio and i2c .

dzach 20016-9-5 Looks interesting. I have compiled the library for a Raspberry Pi 3, but have not been able to produce positive results. What is the naming convention for the pins? There seem to exist a number of them. E.g. if I want to use physical pin 11 (pin number on the connector) as an output, should I say:

    piio function 11 output
    piio output 11 1

in order to turn on pin#11 ?

Could you please post a simple "Hello world" example (e.g. blink)? Thanks!

crshults 2016-10-01 Take a look at the note on this page: http://elinux.org/RPi_GPIO_Code_Samples "Note: For Raspberry Pi 2, change BCM2708_PERI_BASE to 0x3F000000 for the code to work."

dzach Thanks for the link!