Skip to content

Swift 3 driver and example for the Adafruit Bicolor 8x8 I2C LED Backpack using the SMBus-swift library written by Fabio Ritrovato https:/Sephiroth87

Notifications You must be signed in to change notification settings

stulevine/LEDBackpack

Repository files navigation

LEDBackpack Swift Driver

To clone this repo on your respberry pi with LEDBackpack:

git clone --recursive [email protected]:stulevine/LEDBackpack.git

Details:

  • Swift 3 driver and example for the Adafruit Bicolor 8x8 I2C LED Backpack
  • Requires the SMBus-swift library written by Fabio Ritrovato
  • The ∏ generation and display app (Pi.swift) requires BigInt library, as well as the SipHash library written by Károly Lőrentey - make sure to run the shell script 'raspberryPiPatch.sh' in the libs directory before attempting to build since swift on Raspberry Pi does not yet have support for the Package Manager.
  • Hooked up to my Raspberry Pi Zero W with Swift 3.0.2 installed from www.uraimo.com.
  • Uses Coroutine.swift class from Jaden Geller that has been converted to Swift 3 syntax
  • Uses Bill Abt Signals.swift
  • To build the LEDFun app in the video below, run the buildLEDFun.sh script
  • To build the Pi app, run the buildPi.sh script
  • Here's a quick demo video:

IMAGE ALT TEXT HERE

About

Swift 3 driver and example for the Adafruit Bicolor 8x8 I2C LED Backpack using the SMBus-swift library written by Fabio Ritrovato https:/Sephiroth87

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published