Skip to content

xojo/GPIO

Repository files navigation

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

About

A module for accessing the Raspberry Pi GPIO port using the Xojo programming language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages