Code Monkey home page Code Monkey logo

artoo-spark's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jrm

artoo-spark's Issues

LED Driver Doesn't Exist

The LED driver doesn't seem to exist in the Artoo gem anymore. It's also not available in this gem either. Am I missing something?

Artoo-spark and neopixel leds

Hi. I'm wondering if I could use the neopixel address accessable leds from Adafruit with the artoo-spark library. Adafruit provides their own library for their led strings, rings and matrices. So, would this be possible by maybe inserting the neopixel code into artoo's "work block"?

Won't change behavior when running?

I just tried the sample code as follows:

require 'artoo'

connection :spark, :adaptor => :spark, :access_token => 'xxx'
device :led, :driver => :led, :pin => 'D0'

work do
  every(1.second) do
    led.toggle
  end
end

I see the following when I run it:

$ ruby cylon-spark.rb 
I, [2014-03-06T21:00:48.634944 #27816]  INFO -- : Registering connection 'spark'...
I, [2014-03-06T21:00:48.635046 #27816]  INFO -- : Registering device 'led'...
I, [2014-03-06T21:00:48.635089 #27816]  INFO -- : Preparing work...
I, [2014-03-06T21:00:48.635782 #27816]  INFO -- : Initializing connection spark...
I, [2014-03-06T21:00:48.639616 #27816]  INFO -- : Initializing device led...
I, [2014-03-06T21:00:48.643199 #27816]  INFO -- : Starting work...
I, [2014-03-06T21:00:48.643605 #27816]  INFO -- : Connecting to 'spark' on port 'none'...
I, [2014-03-06T21:00:48.644218 #27816]  INFO -- : Starting driver 'Artoo::Drivers::Led'...

It just hangs there. The device is connected to wifi and is currently running a previous program, but doesn't change to this behavior...

Is there something I should check to see why this is happening? Should I be seeing something else in the command line?

BTW, I wasn't able to get the cylon-spark example to work either, but there is a clear error being displayed. I have been able to get the cylon-ardrone to work though...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.