From 98ac0d10beea3060cd6c52955be76cc26eb564d2 Mon Sep 17 00:00:00 2001 From: Christo Goosen Date: Tue, 4 Sep 2018 10:44:34 +0200 Subject: [PATCH 1/4] Update roll docs --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e74a80b..e8d39da 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,10 @@ We've also created a Sphero CLI for the Make Day so if you want to have a look a * `sphero.connect`: Connects to Sphero. All your code goes inside this function. -* `sphero.roll`: Takes two arguments - distance (unitless) and direction (in degrees). The direction you specify is clockwise relative to the x-axis - see the image below: +* `sphero.roll`: Takes two arguments - speed (unitless) and direction (in degrees). The direction you specify is clockwise relative to the x-axis - see the image below: +*****To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st +**[Refer to this link for distance time speed explanations](http://www.softschools.com/formulas/physics/distance_speed_time_formula/75/) * `sphero.setColor`: Takes a string with the color as argument. In lower-case, e.g. "blue", "red", "green", etc. @@ -53,4 +55,4 @@ We've also created a Sphero CLI for the Make Day so if you want to have a look a In `sphero.js` there are the following files of note: * In `/lib/commands`: `core.js` and `sphero.js` * `/lib/devices`: `core.js`, `custom.js` and `sphero.js` -* --> \ No newline at end of file +* --> From ba15269dc917ce3a0d3fa3f95c91fc25fe62e016 Mon Sep 17 00:00:00 2001 From: Christo Goosen Date: Tue, 4 Sep 2018 10:45:50 +0200 Subject: [PATCH 2/4] Fix bullet points --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8d39da..501c207 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ We've also created a Sphero CLI for the Make Day so if you want to have a look a * `sphero.roll`: Takes two arguments - speed (unitless) and direction (in degrees). The direction you specify is clockwise relative to the x-axis - see the image below: -*****To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st -**[Refer to this link for distance time speed explanations](http://www.softschools.com/formulas/physics/distance_speed_time_formula/75/) +** * ***To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st + * [Refer to this link for distance time speed explanations](http://www.softschools.com/formulas/physics/distance_speed_time_formula/75/) * `sphero.setColor`: Takes a string with the color as argument. In lower-case, e.g. "blue", "red", "green", etc. From 745224a14b0d133dee4af05cfa2d154e458a1626 Mon Sep 17 00:00:00 2001 From: Christo Goosen Date: Tue, 4 Sep 2018 10:48:29 +0200 Subject: [PATCH 3/4] Fix markdown on sphero.roll --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 501c207..16637ff 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ We've also created a Sphero CLI for the Make Day so if you want to have a look a * `sphero.roll`: Takes two arguments - speed (unitless) and direction (in degrees). The direction you specify is clockwise relative to the x-axis - see the image below: -** * ***To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st + * To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st * [Refer to this link for distance time speed explanations](http://www.softschools.com/formulas/physics/distance_speed_time_formula/75/) * `sphero.setColor`: Takes a string with the color as argument. In lower-case, e.g. "blue", "red", "green", etc. From 4a30f7e813d939cc7e144b74041cbfdc42f91ef0 Mon Sep 17 00:00:00 2001 From: Christo Goosen Date: Tue, 4 Sep 2018 10:49:48 +0200 Subject: [PATCH 4/4] Fixed more formating --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16637ff..2e4a095 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ We've also created a Sphero CLI for the Make Day so if you want to have a look a * `sphero.roll`: Takes two arguments - speed (unitless) and direction (in degrees). The direction you specify is clockwise relative to the x-axis - see the image below: - * To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st - * [Refer to this link for distance time speed explanations](http://www.softschools.com/formulas/physics/distance_speed_time_formula/75/) + * To calculate distance with the sphero you will have to use the formala distance = speed x time or d = st + * [Refer to this link for distance time speed explanations](http://www.softschools.com/formulas/physics/distance_speed_time_formula/75/) * `sphero.setColor`: Takes a string with the color as argument. In lower-case, e.g. "blue", "red", "green", etc.