jwhitehorn / pi_piper

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

Move to gem-drivers logic #65

Closed elmatou closed 8 years ago

elmatou commented 8 years ago

Create PiPiper::Driver (skeleton for gemed drivers & shell for specs) Remove bcm2835.rb to be found later in bcm2835 & sysfs gems remove libbcm2835.so to specific gem move pin_values.rb to drivers or objects that needs them move pin_error to PiPiper module move & update Platform features to PiPiper module spec some PiPiper features (need still some work) update Pin, Pwm, Spi, I2C to work with gemed driver logic Pin: move #pull! to initialize not an instance method anymore (to be discussed) also moved validation to driver level (nothing in PiPiper::Driver)

I'll test and push the to first drivers the weekend.

see you