Before I go any further, thank you both for taking the time to look into this.
I downloaded one of the daily builds, esp8266-20170601-v1.9-7-gb53a6351.bin, and was able to flash it without issue. I tried the default pins, 5/4 as well as changing to 16/0; so far, no luck. I get the same error.
Just to confirm, I am using the following library:
https://github.com/catdog2/mpy_bme280_esp8266
There is another version of this library which seems to be older and have additional functionality which I don't need right now:
https://bitbucket.org/oscarBravo/wipy_bme280/src
I also tried this library with the pins 5/4 configuration, but that yielded a different error:
Code: Select all
bme = bme280.BME280(i2c=i2c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "bme280.py", line 185, in __init__
File "bme280.py", line 191, in _load_calibration
File "bme280.py", line 151, in readU16LE
File "bme280.py", line 134, in readU16
TypeError: function missing 1 required positional arguments
I also flashed the board using the Arduino IDE and used the official library from Adafruit; this configuration worked perfectly and printed reasonable values from temp, humidity, pressure, and altitude. This being the case, I know that the BME280 board is working and can communicate via I2C with this Feather Huzzah board.