From 6d56e4d260b65d6b6b02d90bea38527a243b9fbe Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Fri, 8 Nov 2013 13:02:54 -0600 Subject: [PATCH 1/3] Updated the readme to include information on uploading Firmata to your Arduino --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index db830d3..b07a3a2 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ Install the module with: `npm install cylon` Then install modules for whatever hardware support you want to use from your robot. For example, `npm install cylon-firmata` to use Cylon with an Arduino using the Firmata protocol. +Make sure to upload the "Standard Firmata" sketch or an equivalent firmata sketch to your Arduino first. Without that code running on the Arduino, firmata can't communicate with Cylon. You can find the example sketch in Examples -> Firmata -> StandardFirmata. + ## Examples **Note:** before running examples in the `examples/` dir from source, make sure to compile using `grunt coffee` first. From be0fbed32e801e9089aaafda7b03a7e1bdf090a4 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Fri, 8 Nov 2013 13:04:22 -0600 Subject: [PATCH 2/3] Added note in Readme reminding users to change the port to their arduino port --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b07a3a2..6914109 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ var Cylon = require("cylon"); // Initialize the robot var robot = Cylon.robot({ + // Change the port to the correct port for your Arduino. connection: { name: 'arduino', adaptor: 'firmata', port: '/dev/ttyACM0' }, device: { name: 'led', driver: 'led', pin: 13 }, From e747125bba68683cda83ee35f8e81ea482b14cb6 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Fri, 8 Nov 2013 13:05:27 -0600 Subject: [PATCH 3/3] Changed arrows on Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6914109..8128a03 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Install the module with: `npm install cylon` Then install modules for whatever hardware support you want to use from your robot. For example, `npm install cylon-firmata` to use Cylon with an Arduino using the Firmata protocol. -Make sure to upload the "Standard Firmata" sketch or an equivalent firmata sketch to your Arduino first. Without that code running on the Arduino, firmata can't communicate with Cylon. You can find the example sketch in Examples -> Firmata -> StandardFirmata. +Make sure to upload the "Standard Firmata" sketch or an equivalent firmata sketch to your Arduino first. Without that code running on the Arduino, firmata can't communicate with Cylon. You can find the example sketch in Examples > Firmata > StandardFirmata. ## Examples