Example of How to Control via Java or Groovy
I have an existing Java/Groovy project that I use to control my extreme Continuous Integration extreme feedback devices (lava lamps, etc) and purchased a BlinkyTape to add that to the list:
https://github.com/leojhartiv/build-whisperer
That said, I don't see a simply example of controlling BlinkyTape via these two programming languages. It looks like I'm stuck with bridging Java->Ruby via JRuby or via Spring Integration.
Is that accurate? Or is there already a Java library and example I can work from.
Thanks!
Leo
https://github.com/leojhartiv/build-whisperer
That said, I don't see a simply example of controlling BlinkyTape via these two programming languages. It looks like I'm stuck with bridging Java->Ruby via JRuby or via Spring Integration.
Is that accurate? Or is there already a Java library and example I can work from.
Thanks!
Leo
Comments
https://github.com/Blinkinlabs/BlinkyTape_Processing/blob/master/examples/DiscoParty/BlinkyTape.pde
It's written against the Processing API, which is again just a small wrapper over Java. It will need to be ported to work directly with the system serial library- JSSC is recommended:
https://code.google.com/p/java-simple-serial-connector/
Let me know if you get stuck and need some pointers, I'd be happy to help.
Just figured I'd share that I did create an open source project people are free to use to connect their BlinkyTape to existing Java or Groovy projects:
https://github.com/leojhartiv/BlinkyTape
My motivation for building this library was to tie BlinkyTape into my company's Continuous Integration environment via the build-whisperer project I created a while back here:
https://github.com/leojhartiv/build-whisperer
There is a simply BlinkyTape implementation provided that allows you to connect Jenkins, Bamboo or any other REST/JSON based page up to the BlinkyTape (as well as some other implementations like Lava Lamps and the like).
Feel free to add the library to your "Other Languages" section if others are interested:
http://blinkinlabs.com/blinkytape/