A module for accessing the Raspberry Pi GPIO port using the Xojo programming language.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GPIO
.gitignore
App.xojo_code
Build Automation.xojo_code
GPIO.xojo_code
GPIO.xojo_project
GPIO.xojo_resources
LICENSE
README.md

README.md

GPIO

A module for accessing the Raspberry Pi GPIO connector from Xojo apps.

http://www.xojo.com

Requires the wiringPi library to be installed so that libwiringPi.so is available.

http://wiringpi.com

Usage

Copy the GPIO module from this project to your own project. For additional information and examples refer to the Xojo Dev Center:

Tutorials

Changes

v1.7.3

  • Corrected Xojo method signature for SPIDataRW to use CString to fix compile error.

v1.7.2

  • Corrected Declare method signature for SPIDataRW so that you can actually get the output.

v1.7.1

  • Setup, SetupPhys and SetupSys now also initialize PinDict.

v1.7

  • Commented out WiringPiISR method as it makes its callback in a pre-emptive thread making it unsafe to use with Xojo.

v1.6

  • Added WiringPiISR implementation and related constants (thanks to Bjorn@Einhugur).

v1.5

  • Added GPIO.Cleanup method
  • Added GPIO.SoftPwmCreate method
  • Added GPIO.SoftPwmWrite method
  • Added GPIO.RGBLED class
  • Added GPIO.Servo class
  • Added GPIO.SoftToneCreate method
  • Added GPIO.SoftToneWrite method
  • Added GPIO.Version property
  • Added GPIO.LCD class