Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.07 KB

README.md

File metadata and controls

20 lines (18 loc) · 1.07 KB

bean-next-bus

Show Metro Transit's Next Trip Data on the Punch Through Bean through Adafruit's 8x8 LED Matrix.

Setup

This project is not a Node module yet so bear with me

  • You can follow @mplewis' beantalk post on how to set up the Bean with Adafruit's 8x8 LED matrix.
  • Clone repo
  • cd bean-next-bus
  • Load the Sketch provided onto your Bean
  • start Node REPL
  • Create a new Bean Bus instance using either the Bean's Name or UUID and the Metro Transit Stop ID (you can find a stop ID through the Metro Transit api, this defaults to the stop outside of the MPLS Punch Through office.)
var bus = require('./index')
var Bus = new bus({ name: 'Next Bus', uuid: '', stopID: '40953' })

You should then see the script log the data it's setting on the Bean's characteristic in 1 minute intervals and your Bean start displaying the value stored in the characteristic.