mirror of https://github.com/arendst/Tasmota.git
1.01
This commit is contained in:
parent
50e88038c3
commit
00dad36b08
|
@ -1,24 +0,0 @@
|
||||||
language: python
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- "~/.platformio"
|
|
||||||
|
|
||||||
install:
|
|
||||||
- pip install -U platformio
|
|
||||||
|
|
||||||
env:
|
|
||||||
- BOARD=uno
|
|
||||||
- BOARD=leonardo
|
|
||||||
- BOARD=micro
|
|
||||||
- BOARD=megaatmega2560
|
|
||||||
- BOARD=due
|
|
||||||
- BOARD=yun
|
|
||||||
- BOARD=genuino101
|
|
||||||
- BOARD=zero
|
|
||||||
|
|
||||||
script:
|
|
||||||
- set -eo pipefail;
|
|
||||||
for e in examples/*; do
|
|
||||||
platformio ci --board=$BOARD --lib=. $e/*;
|
|
||||||
done
|
|
|
@ -1,7 +1,7 @@
|
||||||
# VL53L1X library for Arduino
|
# VL53L1X library for Arduino
|
||||||
|
|
||||||
Version: 1.0.0<br>
|
Version: 1.0.1<br>
|
||||||
Release date: 2018-05-31<br>
|
Release date: 2018-09-19<br>
|
||||||
[![Build Status](https://travis-ci.org/pololu/vl53l1x-arduino.svg?branch=master)](https://travis-ci.org/pololu/vl53l1x-arduino)<br>
|
[![Build Status](https://travis-ci.org/pololu/vl53l1x-arduino.svg?branch=master)](https://travis-ci.org/pololu/vl53l1x-arduino)<br>
|
||||||
[www.pololu.com](https://www.pololu.com/)
|
[www.pololu.com](https://www.pololu.com/)
|
||||||
|
|
||||||
|
@ -163,4 +163,5 @@ This library is intended to provide a quicker and easier way to get started usin
|
||||||
|
|
||||||
## Version history
|
## Version history
|
||||||
|
|
||||||
|
* 1.0.1 (2018-09-19): Fix Arduino 101 hanging in init().
|
||||||
* 1.0.0 (2018-05-31): Original release.
|
* 1.0.0 (2018-05-31): Original release.
|
|
@ -42,10 +42,16 @@ bool VL53L1X::init(bool io_2v8)
|
||||||
delayMicroseconds(100);
|
delayMicroseconds(100);
|
||||||
writeReg(SOFT_RESET, 0x01);
|
writeReg(SOFT_RESET, 0x01);
|
||||||
|
|
||||||
|
// give it some time to boot; otherwise the sensor NACKs during the readReg()
|
||||||
|
// call below and the Arduino 101 doesn't seem to handle that well
|
||||||
|
delay(1);
|
||||||
|
|
||||||
// VL53L1_poll_for_boot_completion() begin
|
// VL53L1_poll_for_boot_completion() begin
|
||||||
|
|
||||||
startTimeout();
|
startTimeout();
|
||||||
while ((readReg(FIRMWARE__SYSTEM_STATUS) & 0x01) == 0)
|
|
||||||
|
// check last_status in case we still get a NACK to try to deal with it correctly
|
||||||
|
while ((readReg(FIRMWARE__SYSTEM_STATUS) & 0x01) == 0 || last_status != 0)
|
||||||
{
|
{
|
||||||
if (checkTimeoutExpired())
|
if (checkTimeoutExpired())
|
||||||
{
|
{
|
||||||
|
@ -675,7 +681,7 @@ void VL53L1X::getRangingData()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 6: // SIGMATHRESHOLDCHECK
|
case 6: // SIGMATHRESHOLDCHECK
|
||||||
ranging_data.range_status = SignalFail;
|
ranging_data.range_status = SigmaFail;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 7: // PHASECONSISTENCY
|
case 7: // PHASECONSISTENCY
|
|
@ -1,5 +1,5 @@
|
||||||
name=VL53L1X
|
name=VL53L1X
|
||||||
version=1.0.0
|
version=1.0.1
|
||||||
author=Pololu
|
author=Pololu
|
||||||
maintainer=Pololu <inbox@pololu.com>
|
maintainer=Pololu <inbox@pololu.com>
|
||||||
sentence=VL53L1X distance sensor library
|
sentence=VL53L1X distance sensor library
|
|
@ -531,7 +531,7 @@
|
||||||
// #define USE_SPS30 // [I2cDriver30] Enable Sensiron SPS30 particle sensor (I2C address 0x69) (+1.7 code)
|
// #define USE_SPS30 // [I2cDriver30] Enable Sensiron SPS30 particle sensor (I2C address 0x69) (+1.7 code)
|
||||||
#define USE_ADE7953 // [I2cDriver7] Enable ADE7953 Energy monitor as used on Shelly 2.5 (I2C address 0x38) (+1k5)
|
#define USE_ADE7953 // [I2cDriver7] Enable ADE7953 Energy monitor as used on Shelly 2.5 (I2C address 0x38) (+1k5)
|
||||||
// #define USE_VL53L0X // [I2cDriver31] Enable VL53L0x time of flight sensor (I2C address 0x29) (+4k code)
|
// #define USE_VL53L0X // [I2cDriver31] Enable VL53L0x time of flight sensor (I2C address 0x29) (+4k code)
|
||||||
// #define USE_VL53L1X // Enable support for VL53L1X sensor (I2C addres 0x52) using Pololu VL53L1X library (+2k9 code)
|
// #define USE_VL53L1X // [I2cDriver53] Enable support for VL53L1X sensor (I2C addres 0x52) using Pololu VL53L1X library (+2k9 code)
|
||||||
// #define USE_MLX90614 // [I2cDriver32] Enable MLX90614 ir temp sensor (I2C address 0x5a) (+0.6k code)
|
// #define USE_MLX90614 // [I2cDriver32] Enable MLX90614 ir temp sensor (I2C address 0x5a) (+0.6k code)
|
||||||
// #define USE_CHIRP // [I2cDriver33] Enable CHIRP soil moisture sensor (variable I2C address, default 0x20)
|
// #define USE_CHIRP // [I2cDriver33] Enable CHIRP soil moisture sensor (variable I2C address, default 0x20)
|
||||||
// #define USE_PAJ7620 // [I2cDriver34] Enable PAJ7620 gesture sensor (I2C address 0x73) (+2.5k code)
|
// #define USE_PAJ7620 // [I2cDriver34] Enable PAJ7620 gesture sensor (I2C address 0x73) (+2.5k code)
|
||||||
|
|
Loading…
Reference in New Issue