Skip to content

dubinsky/podval-iot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
i2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

#Raspberry Pi GPIO Acess

##Why

I want to be able to program my Raspberry Pi in Scala.

That includes:

  • working with the i2c bus
  • working with GPIO
  • sending data to Cosm

##Credits

I used as sources of information and inspiration:

  • Official Broadcom documentation on BCM2835 peripherals (this is the chip inside Raspberry Pi)

  • Tutorial on RPi Low-Level Peripherals

  • pi4j project

  • RPi.GPIO

  • Java i2c binding by Peter Simon epnomis@gmail.com. This was my inspiration to use JNA. Only one call (ioctl) turned out to be neccesary.

  • Adafruit Raspberry Pi Python Code for the parts from Adafruit.

  • Chris Hatton's note on GPIO port on the Raspberry Pi

  • Ilya's note on Unsafe

  • i2c-tools package (the source of python-smbus that Adafruit uses) as an example on how to use i2c-dev driver

  • i2c_bcm2708 driver

  • jpachube

About

Raspberry Pi GPIO access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published