Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Micro controller code that runs on the actual floathub (arduino-based) device
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
device.ino ========== Core arduino code providing floathub functionality. See floathub.com for more information. The mega directory contains the code flashed to the Arduino Mega. Note that the esp8266 directory contains separate code that is to be flashed to the onboard esp8266. And the dash directory is used to flash Hologram Dash in FloatHub devices that have cellular. The ONLY TESTED AND RECOMMENDED build environment for this code is Arduino 1.6.7 with the following serial buffer modifications: HardwareSerial.h in hardware/arduino/avr/cores/arduino/HardwareSerial.h should have the TX and RX buffers changed from 64 bytes to 256 like so: //#define SERIAL_TX_BUFFER_SIZE 64 #define SERIAL_TX_BUFFER_SIZE 256 ... //#define SERIAL_RX_BUFFER_SIZE 64 #define SERIAL_RX_BUFFER_SIZE 256 Similarly, the Software Serial library should be modified: SoftwareSerial.h in hardware/arduino/avr/libraries/SoftwareSerial/ should have the RX buffer changed from 64 bytes to 128 bytes as in: //#define _SS_MAX_RX_BUFF 64 // RX buffer size #define _SS_MAX_RX_BUFF 128 // RX buffer size ESP8266 Libraries ----------------- The only verified version of the ESP8266 Board library for the Arduino environment currently reccommended is 2.3.0. Versions 2.4.0 and 2.4.1 have been tested and are know _NOT_ to work reliably (especially with (re-)joining public WiFi automatically after a disconnect). Konekt/Hologram Dash Libraries ------------------------------ Built and tested with 0.11.1, which is the reccommended version.