esp-open-rtos/examples
ourairquality f0c43ff5d5 BME280 support.
The BME280 is close to compatible with the existing BMP280 and extends it with support for measuring humidity, so support has been bundled into the bmp280 driver.

The example now auto-detects the device and displays the humidity for the BME280.

The I2C bus initialization has been moved out of the bmp280 driver to support multiple devices.

The check-id and reset logic has been bundled into the driver initialization. It needs to be re-initialized after reset anyway and the chip-id is need to initialize it, just re-initialize to reset.

Support has been added for multiple devices. The calibration data storage needs to be managed by the caller rather than static data. The caller can choose the I2C address to allow two BMx280 devices to be used on the same I2C bus.

An interface has been added to return the measurement values in an integer fixed float format. The float format interface is still there.

All the values are read in one I2C transaction to ensure they are a consistent set.

Renamed bmp280_calib_t to bmp280_t, and removed read_register8.
2016-08-17 23:33:04 +10:00
..
access_point Merge branch 'feature/dhcp-server' 2016-02-21 10:36:28 +11:00
blink Honour values of configCPU_CLOCK_HZ & configTICK_RATE_HZ for tick rate 2016-07-06 17:22:09 +10:00
blink_timers Change default baud rate back to 74906bps, compatible with boot ROM rate 2015-10-06 23:11:17 +11:00
bmp180_i2c bmp180: make a lower level interface available and support oversampling. 2016-07-20 18:42:51 +10:00
bmp280 BME280 support. 2016-08-17 23:33:04 +10:00
button Change default baud rate back to 74906bps, compatible with boot ROM rate 2015-10-06 23:11:17 +11:00
cpp_01_tasks cpp_01_tasks example: Remove spurious OTA=1 (ref #128) 2016-04-20 09:25:40 +10:00
dht_sensor DHT11/DHT22 library fixes. 2016-07-06 21:01:44 +03:00
ds18b20_broadcaster Implement new ds18b20 APIs 2016-04-05 10:05:42 -07:00
ds18b20_onewire Implement new ds18b20 APIs 2016-04-05 10:05:42 -07:00
ds3231_test examples: ds3231: Add simple example for ds3231 2016-08-03 01:23:43 +00:00
experiments Add new "RAM" storage macro for putting constant data in RAM 2016-05-28 12:39:56 +10:00
http_get Change default baud rate back to 74906bps, compatible with boot ROM rate 2015-10-06 23:11:17 +11:00
http_get_mbedtls Added first half of RE'd user_interface.c 2016-07-06 17:21:34 +10:00
i2s_audio is2_audio: Example of using i2s_dma library to output audio 2016-08-16 11:16:02 +03:00
json_jsmn_simple Add JSON support 2016-05-15 22:32:14 +10:00
mqtt_client Call DisconnectNetwork(...) before MQTT reconnect 2016-06-21 20:43:02 +02:00
ota_basic ota_basic example: Update TFTP client calls 2016-05-28 11:27:10 +10:00
posix_fs SPIFFS: Update example, README.md 2016-07-15 15:22:03 +03:00
pwm_test Added first half of RE'd user_interface.c 2016-07-06 17:21:34 +10:00
serial_echo serial_echo example: Remove setbuf() call as stdout no longer buffered by default 2015-10-27 13:36:51 +11:00
simple Change default baud rate back to 74906bps, compatible with boot ROM rate 2015-10-06 23:11:17 +11:00
simple_cplusplus Change default baud rate back to 74906bps, compatible with boot ROM rate 2015-10-06 23:11:17 +11:00
sntp Removed my _time() implementation to use newlib provided one. 2016-03-31 16:05:15 +02:00
spiffs SPIFFS: Selectable configuration of SPIFFS 2016-08-08 23:18:15 +03:00
terminal timers.h: Remove compile-time-auto-inlining complexity 2015-11-28 16:32:52 +11:00
tests/hmac_test_vectors Change default baud rate back to 74906bps, compatible with boot ROM rate 2015-10-06 23:11:17 +11:00
tls_server Added first half of RE'd user_interface.c 2016-07-06 17:21:34 +10:00
ws2812_i2s ws2812_i2s: WS2812 leds driver implementation using i2s_dma library 2016-08-16 10:53:56 +03:00
ws2812_rainbow Use anonymous struct in ws2812_rgb_t. 2016-03-01 23:17:13 +01:00
Makefile examples/Makefile: Use MAKE to properly invoke make recursively 2015-09-20 21:13:38 +10:00