|
20 | 20 |
|
21 | 21 | See file LICENSE.txt for further informations on licensing terms.
|
22 | 22 |
|
23 |
| - Last updated March 13th, 2016 |
| 23 | + Last updated June 15th, 2016 |
24 | 24 | */
|
25 | 25 |
|
26 | 26 | #include <Servo.h>
|
@@ -763,27 +763,10 @@ void setup()
|
763 | 763 |
|
764 | 764 | stream.setLocalName(FIRMATA_BLE_LOCAL_NAME);
|
765 | 765 |
|
766 |
| -// setConnectionInterval is not available in the CurieBLE library included in the |
767 |
| -// Intel Curie Boards package v1.0.5 (latest version via the Boards Manager). Without |
768 |
| -// setConnectionInterval, the BLE reporting rate for analog input and I2C read continuous mode |
769 |
| -// will be very slow (150ms instead of 30ms). |
770 |
| -// However, you can manually update CurieBLE to get the functionality now. Follow these steps: |
771 |
| -// 1. Install Intel Curie Boards v1.0.5 via the Arduino Boards manager (use Arduino 1.6.7 or newer) |
772 |
| -// 2. Download or clone corelibs-arduino101: https://github.com/01org/corelibs-arduino101 |
773 |
| -// 3. Make a copy of the CurieBLE directory found in corelibs-arduino101/libraries/ |
774 |
| -// 4. Find the Arduino15 directory on your computer: |
775 |
| -// OS X: ~/Library/Arduino15 |
776 |
| -// Windows: C:\Users\(username)\AppData\Local\Arduino15 |
777 |
| -// Linux: ~/.arduino15 |
778 |
| -// 5. From the Arduino15 directory, navigate to: /packages/Intel/hardware/arc32/1.0.5/libraries/ |
779 |
| -// 6. Replace the CurieBLE library with the version you copied in step 3 |
780 |
| -// 7. Comment out the #ifndef statement below and the following #endif statement |
781 |
| -#ifndef _VARIANT_ARDUINO_101_X_ |
782 | 766 | // set the BLE connection interval - this is the fastest interval you can read inputs
|
783 | 767 | stream.setConnectionInterval(FIRMATA_BLE_MIN_INTERVAL, FIRMATA_BLE_MAX_INTERVAL);
|
784 | 768 | // set how often the BLE TX buffer is flushed (if not full)
|
785 | 769 | stream.setFlushInterval(FIRMATA_BLE_MAX_INTERVAL);
|
786 |
| -#endif |
787 | 770 |
|
788 | 771 | #ifdef BLE_REQ
|
789 | 772 | for (byte i = 0; i < TOTAL_PINS; i++) {
|
|
0 commit comments