jwhitehorn / pi_piper

Event driven Raspberry Pi GPIO programming in Ruby
BSD 2-Clause "Simplified" License
694 stars 74 forks source link

BeagleBone Support #13

Open Sparkboxx opened 10 years ago

Sparkboxx commented 10 years ago

I'm going to take a look to see if I can get PiPiper to cooperate with the BeagleBoneBlack. Do you have any suggestions or prior experience (good/ bad) or do you know of big gotcha's?

jwhitehorn commented 10 years ago

I like the idea. Though I don't own a beagle board, so I can't necessarily assist directly.

However, as a starting point look at the work I've done for version 2. Specifically the bits around the Platform class and how it's used. The general idea is that it's a platform abstraction layer and lazily loads the BCM2835 driver for the Pi. That said, that's where I'd look to extend things.

Let me know if what I'm saying is clear, or if I can provide any additional insight.