Close

Functions

A project log for Mbed IoT testing

HW created for testing ESP8266 and ThingSpeak channels.

marko-dragoslavicMarko Dragoslavic 05/17/2016 at 16:510 Comments
  1. Pressing switch must update ThingSpeak so use interrupts. Blues switch on Nucleo
  2. Create function and link with timer-tick to read all sensors.

Initial plan was to update data each second but with DS1820 and MS5803 it isn't possible because reading peripheral over different I2C is to slow so I changed update time to 3 seconds.


Ticker flipper;

InterruptIn mybutton(USER_BUTTON);

while(1){
...
}

Discussions