Version del programa usado para la Expo IOT 2018 - Strada Hotel
Dependencies: DHT HX711 libmDot-mbed5 ISL29011
Fork of Dot-Examples by
examples/inc/dot_util.h
- Committer:
- Mike Fiore
- Date:
- 2016-10-07
- Revision:
- 5:97ed5f2f099e
- Parent:
- 0:a151a6350d7f
- Child:
- 7:724cb82a113e
File content as of revision 5:97ed5f2f099e:
#ifndef __DOT_UTIL_H__ #define __DOT_UTIL_H__ #include "mbed.h" #include "mDot.h" #include "MTSLog.h" #include "MTSText.h" #include "ISL29011.h" #include "example_config.h" extern mDot* dot; void display_config(); void update_ota_config_name_phrase(std::string network_name, std::string network_passphrase, uint8_t frequency_sub_band, bool public_network, uint8_t ack); void update_ota_config_id_key(uint8_t *network_id, uint8_t *network_key, uint8_t frequency_sub_band, bool public_network, uint8_t ack); void join_network(); void sleep_wake_rtc_only(bool deepsleep); void sleep_wake_interrupt_only(bool deepsleep); void sleep_wake_rtc_or_interrupt(bool deepsleep); void send_data(std::vector<uint8_t> data); #endif