diff --git a/.travis.yml b/.travis.yml index 49ff4fb..06ddadd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: cpp env: global: - - ARDUINO_VERSION="1.6.13" + - ARDUINO_VERSION="1.8.1" matrix: - PLATFORM='arduino:avr' BOARD='uno' - PLATFORM='arduino:avr' BOARD='mega:cpu=atmega2560' @@ -68,6 +68,7 @@ script: - arduino --verify $PWD/examples/Simple/BarcodeScanner/BarcodeScanner.ino - arduino --verify $PWD/examples/Simple/Buzzer/Buzzer.ino - arduino --verify $PWD/examples/Simple/Camera/Camera.ino + - arduino --verify $PWD/examples/Simple/Chart/Chart.ino - arduino --verify $PWD/examples/Simple/Color/Color.ino - arduino --verify $PWD/examples/Simple/DataLogger/DataLogger.ino - arduino --verify $PWD/examples/Simple/Facebook/Facebook.ino diff --git a/CHANGELOG.md b/CHANGELOG.md index 60296bb..4d72700 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.12.0(016) (January 29, 2017) + - Supported the new chart shield. + - Fixed some bugs. + ## v1.11.0(015) (December 19, 2016) - Supported the new fingerprint scanner and face detector shields. - Fixed a bug in the frames timeout that marks a correct frame faulty. diff --git a/examples/Simple/Chart/Chart.ino b/examples/Simple/Chart/Chart.ino index f3bbc7b..2d893d8 100644 --- a/examples/Simple/Chart/Chart.ino +++ b/examples/Simple/Chart/Chart.ino @@ -4,10 +4,11 @@ Chart Shield Example This example shows an application on 1Sheeld's chart shield. -By using this example, you can plot and display noise data using mic over a line chart -and save it as a CSV so you can use other tools to check the data. -PS: Chart shield will automatically save 10000 plots then it will clear them from the app -for more convenient performance. +By using this example, you can plot and display noise data using mic +over a line chart and save it as a CSV. + +Note: Chart shield will automatically save a CSV file after reaching +10000 plots and will clear the screen for optimal app performance. OPTIONAL: To reduce the library compiled size and limit its memory usage, you @@ -27,9 +28,9 @@ void setup() { /* Start communication. */ OneSheeld.begin(); - /* Save a screenshot of CHART_0. */ + /* Save a screenshot for chart 0. */ Chart.saveScreenshot(CHART_0); - /* Save a csv file of CHART_0. */ + /* Save a csv file for chart 0. */ Chart.saveCsv("MicValues",CHART_0); /* Clear Chart 0. */ Chart.clear(CHART_0); diff --git a/library.properties b/library.properties index 51b9b86..4b9a0d6 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=OneSheeld -version=1.11.0 +version=1.12.0 author=Integreight, Inc. maintainer=Eslam Ali , Islam Mustafa , Mustafa Fayez sentence=It allows you to control your 1Sheeld(s).