Git Product home page Git Product logo

gpio's Introduction

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

gpio's People

Contributors

paullefebvre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpio's Issues

i2C usage in Xojo

When I try using GPIO.i2cSetup, it returns an error, also the only i2cReadReg16, i2cReadReg8 are available, i need to use DS1307 RTC for a file server I am building and have run into the problem.

Similar is the case with GPIO.spiSetup

How can these be initialized in xojo, a sample example would be a great help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.