arvydas / blinkstick-ruby

BlinkStick Ruby interface to control devices connected to the computer.
Other
13 stars 9 forks source link

Blinkstick Pro Support #4

Open dsaito opened 10 years ago

dsaito commented 10 years ago

Hi. Now that Blinkstick Pro is out, I'm wondering if this library will support it. I'm planning on using Adafruit's neopixel LEDs in series. Thank you!

arvydas commented 10 years ago

Yes, the Pro support will be added this week.

dsaito commented 10 years ago

Thank you.

dsaito commented 10 years ago

Dear arvydas,

I would like to know the current development status of the Ruby library for the neopixel leds. The reason I ask is because my application is written in pure Ruby. However, it seems that the Ruby library has not been updated in quite a while. I have already purchased a set o blinksticks for my project, as the site ensures full compatibility with the Ruby language, but I am now worried it will not work. Any help in this regard would be appreciated! Thank you.

arvydas commented 10 years ago

The BlinkStick Pro support is 99% implemented. Could you please provide give me an example on how you want to control the NeoPixels so that I could add an example for you to start with?

dsaito commented 10 years ago

Hello, Arvydas. Is the Blinkstick Pro support implemented in Ruby? I really can't seem to find a method for assessing the individual neopixel leds. Maybe I didn't look hard enough... Will the find_all method do the trick? Since I did not receive my blinkstick kits yet, I still do not have my Ruby code. I'll give you an example as soon as I get them, ok? Could you please inform the status of my order, which was placed a few weeks ago? That is because the shipping status does not show in my Paypal account.

My application will be pretty simple, it will turn the addressable leds on and off in a visual pleasing manner, according to different input strings retrieved from the internet.

Best regards, Daniel

Em 30/05/2014, às 10:33, Arvydas Juskevicius notifications@github.com escreveu:

The BlinkStick Pro support is 99% implemented. Could you please provide give me an example on how you want to control the NeoPixels so that I could add an example for you to start with?

— Reply to this email directly or view it on GitHub.

arvydas commented 10 years ago

@dsaito yes, basic Pro support is implemented in this library. You can start by checking the following files:

example-pro-gradient.rb example-pro-run.rb example-pro.rb

I will be adding more examples. Please let me know if you have any questions and I will be happy to help.

dunk8888 commented 7 years ago
Ruby 1.9.3
LibUSB development libraries
Color and LibUSB gems

Hi seems ruby 1.9.3 doesnt support libusb gem any more,will the latest ruby work ok with the blinksticks?