File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11#include < Bridge.h>
22
3- String revision = " 1.0.1 -1_ar71xx" ;
4- String location = " https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/master /yun/linux_package/" ;
3+ String revision = " 1.0.2 -1_ar71xx" ;
4+ String location = " https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/1.0.2 /yun/linux_package/" ;
55
66void downloadPackage (String file) {
77 Serial.println (" Download: " + location + file + revision + " .ipk" );
@@ -17,7 +17,7 @@ void downloadPackage(String file) {
1717 p.addParameter (" /tmp/" + file + revision + " .ipk" );
1818 p.addParameter (location + file + revision + " .ipk" );
1919 p.run ();
20- while (p.available ()) {
20+ while (p.available ()) {
2121 Serial.print ((char )p.read ());
2222 }
2323}
@@ -39,16 +39,16 @@ void installPackage(String file) {
3939void setup () {
4040 Bridge.begin ();
4141 Serial.begin (115200 );
42-
42+
4343 while (!Serial);
44-
44+
4545 Serial.println (" Downloading packages" );
4646 downloadPackage (" parse-embedded_" );
4747 downloadPackage (" parse-embedded-yun_" );
4848 Serial.println (" Installing packages" );
4949 installPackage (" parse-embedded_" );
5050 installPackage (" parse-embedded-yun_" );
51-
51+
5252 Serial.println (" \n Done." );
5353}
5454
Original file line number Diff line number Diff line change 1- name =Parse Arduino Yún SDK
2- version =1.0.1
1+ name =Parse Arduino SDK
2+ version =1.0.2
33author =Parse, LLC.
44maintainer =Parse, LLC.
55sentence =A library that provides access to Parse
66paragraph =Provides convenience methods to access the REST API on Parse.com from Arduino
7- url =https://github.com/ParsePlatform/parse-embedded-sdks
7+ url =https://github.com/ParsePlatform/Parse-SDK-Arduino
88architectures =avr
You can’t perform that action at this time.
0 commit comments