Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/setup/Setup.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Bridge.h>

String revision = "1.0.1-1_ar71xx";
String location = "https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/master/yun/linux_package/";
String revision = "1.0.2-1_ar71xx";
String location = "https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/1.0.2/yun/linux_package/";

void downloadPackage(String file) {
Serial.println("Download: " + location + file + revision + ".ipk");
Expand All @@ -17,7 +17,7 @@ void downloadPackage(String file) {
p.addParameter("/tmp/" + file + revision + ".ipk");
p.addParameter(location + file + revision + ".ipk");
p.run();
while (p.available()) {
while (p.available()) {
Serial.print((char)p.read());
}
}
Expand All @@ -39,16 +39,16 @@ void installPackage(String file) {
void setup() {
Bridge.begin();
Serial.begin(115200);

while(!Serial);

Serial.println("Downloading packages");
downloadPackage("parse-embedded_");
downloadPackage("parse-embedded-yun_");
Serial.println("Installing packages");
installPackage("parse-embedded_");
installPackage("parse-embedded-yun_");

Serial.println("\nDone.");
}

Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name=Parse Arduino Yún SDK
version=1.0.1
name=Parse Arduino SDK
version=1.0.2
author=Parse, LLC.
maintainer=Parse, LLC.
sentence=A library that provides access to Parse
paragraph=Provides convenience methods to access the REST API on Parse.com from Arduino
url=https://github.com/ParsePlatform/parse-embedded-sdks
url=https://github.com/ParsePlatform/Parse-SDK-Arduino
architectures=avr