Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI support? #15

Open
eflukx opened this issue Jan 24, 2014 · 1 comment
Open

SPI support? #15

eflukx opened this issue Jan 24, 2014 · 1 comment

Comments

@eflukx
Copy link

eflukx commented Jan 24, 2014

Am i doing somehting wrong? or is this just a bug?

irb(main):007:0> require 'wiringpi2'
=> false
irb(main):008:0> s = WiringPi::SPI.new(0,500000)
NameError: uninitialized constant WiringPi::SPI::Wiringpi
        from /var/lib/gems/1.9.1/gems/wiringpi2-2.0.1/lib/wiringpi/spi.rb:6:in `initialize'
        from (irb):8:in `new'
        from (irb):8
        from /usr/bin/irb:12:in `<main>'
irb(main):009:0>
@tettoon
Copy link

tettoon commented Mar 9, 2014

Hi eflukx.

I think it is a bug of WiringPi2-Ruby.
So I reported this problem with patch.
https://github.com/Gadgetoid/WiringPi2-Ruby/issues/8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants