Problems with current KR:
- Qt
- Manual builds
- Duplication
- Non-intuitive UI
- This gist has more
require 'artoo' | |
connection :sphero, :adaptor => :sphero, :port => '127.0.0.1:4560' | |
device :sphero, :driver => :sphero | |
work do | |
every(3.seconds) do | |
if @color == :green | |
@color = :blue | |
else |
Problems with current KR:
####Installation instructions
$ npm install cylon cylon-gpio cylon-i2c cylon-firmata cylon-sphero cylon-leapmotion
####Arduino blink
//blink.js
var Cylon = require('cylon');
var Cylon = require('cylon'); | |
Cylon.robot({ | |
connection: { | |
name: 'voodoospark', | |
adaptor: 'voodoospark', | |
accessToken: 'XXX', | |
deviceId: 'YYY', | |
module: 'spark' | |
}, |
/* | |
* Firmata is a generic protocol for communicating with microcontrollers | |
* from software on a host computer. It is intended to work with | |
* any host computer software package. | |
* | |
* To download a host software package, please clink on the following link | |
* to open the download page in your default browser. | |
* | |
* http://firmata.org/wiki/Download | |
*/ |
var Cylon = require('cylon'); | |
Cylon.robot({ | |
connection: [{ name: 'rapiro', adaptor: 'rapiro', port: '/dev/ttyAMA0' }, | |
{ name: 'speech', adaptor: 'speech', voice: 'en-f3' }], | |
devices: [{name: 'rapiro', driver: 'rapiro', connection: 'rapiro'}, | |
{name: 'mouth', driver: 'speech', connection: 'speech'}], | |
work: function(my) { | |
var walking = false ; |
=begin rdoc | |
PoolParty plugin to install and configure mysql on any instance designated as a database instance. | |
Written by Ron Evans (http://deadprogrammersociety.com) | |
Features of the current plugin: | |
- Installs current Mysql | |
- Does live database backup to S3 once every hour | |
- If the instance goes down, will automatically bring up another one, and restore latest backup | |
var Cylon = require('cylon'); | |
Cylon.robot({ | |
connection: { | |
name: 'spark', adaptor: 'spark', | |
accessToken: 'ecc7a925d3b92bf1f9c942de25a14916a7e4a4bc', | |
deviceId: '53ff72065067544854310187' | |
}, | |
device: |
ron-evanss-macbook-pro-15:mysql-plugin-test-app ron$ pool -v start | |
-- PoolParty cloud: MySql Plugin Test App | |
On ami-4bb05422 | |
Minimum instances: 1 | |
Maximum instances: 4 | |
Polling every: 30.seconds | |
Keypair: mysql-test | |
Access key: 0CT2X9HAFADR370JWN02 | |
size: m1.small | |
Monitors available: |