add timeout handling to the i2c read
make comment make more sense
Fixed flush()

Flush was changed to wait until the ring buffer is empty and to wait for the final frame to have been transmitted before being complete.

or:

flush()
    wait for ring buffer to empty;
    wait for final frame to be transmitted;
    unset transmitting;
Is this a typo? "*passowrd"

Just happen to see it while i was looking through the code to do something else.

Not sure if this is causing other issues due to the possible typo. 

Flagging just in case!
Added setADCSampleTime() to override the default ADC Sampling Time
Merge pull request #141 from kennethlimcp/patch-1

Is this a typo? "*passowrd"
Fixes Hand on debug build
Merge pull request #142 from davids5/debug_called_after_constructor

Fixes Hang on debug build
Added/Renamed spark wlan/cloud related state variables for readability
Run SPARK_WLAN_Setup() after class constructors i.e. inside main()
Added runtime conditional check for SPARK_WLAN_START state variable
Fixed conditional bug using SPARK_WLAN_START and SPARK_WLAN_SLEEP
spark_disable_wlan.h and spark_disable_cloud.h for complete user control
Added missing SPARK_WIRING_APPLICATION flag based conditional execution
No more while(1) Defined Panic code for PureVirtualCall
US IWD via a macro Creat interface to bootloader so it will not wipe
code See Application - it Hardfaults as a test see DIE and HANG
Added WiFiClass for user control, RGB Led state changes & other updates
Removed SPARK_WLAN_hasAddress() and instead used WiFi.status() condition
We shoudn't restart WLAN when AP goes out of range or switched off ?
Latest Build Products