Skip to content

Commit

Permalink
updated to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoschwartz committed Nov 20, 2015
1 parent 36b86b3 commit ca661e0
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 139 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aREST [![Build Status](https://travis-ci.org/marcoschwartz/aREST.svg?branch=master)](https://travis-ci.org/marcoschwartz/aREST)

Version 1.9.11
Version 2.0.0

## Overview

Expand Down Expand Up @@ -44,7 +44,7 @@ For Bluetooth Low Energy communications, the library has been tested with the Ad

To use the library with Arduino boards you will need the latest version of the Arduino IDE:

- [Arduino IDE 1.6.5](http://arduino.cc/en/main/software)
- [Arduino IDE 1.6.6](http://arduino.cc/en/main/software)

### For WiFi using the ESP8266 chip

Expand Down Expand Up @@ -101,7 +101,7 @@ To install the library, simply clone this repository in the /libraries folder of
1. Connect a LED & resistor to pin number 8 of your Arduino board
2. Open the BLE example sketch
3. Upload the sketch
4. Use the [BlueFruit LE Connect app](https://itunes.apple.com/fr/app/adafruit-bluefruit-le-connect/id830125974?mt=8) to connect to the BLE chip
4. Use the [BlueFruit LE Connect app](https://itunes.apple.com/fr/app/adafruit-bluefruit-le-connect/id830125974?mt=8) to connect to the BLE chip
5. Type `/mode/8/o /` to set the pin as an output
6. Now type `/digital/8/1 /` and the LED should turn on

Expand Down Expand Up @@ -167,7 +167,7 @@ rest.set_status_led(led_pin);

### Lightweight mode (BETA)

There is the possibility to use a lightweight mode for aREST. This means that for commands to control the Arduino board (like digitalWrite commands), no data is returned at all. For commands that ask for data to be sent back (like asking for a variable), in this mode the library will only return the value of the data that was requested.
There is the possibility to use a lightweight mode for aREST. This means that for commands to control the Arduino board (like digitalWrite commands), no data is returned at all. For commands that ask for data to be sent back (like asking for a variable), in this mode the library will only return the value of the data that was requested.

This mode was made for cases where the memory footprint of the aREST library has to be as small as possible, or with devices that can't send/receive a lot of data at the same time, like Bluetooth LE. To enable this lightweight mode, simply start your sketch with:

Expand Down
Loading

0 comments on commit ca661e0

Please sign in to comment.