Search found 74 matches

by warren
Sat Jul 23, 2016 4:59 pm
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 16064

Re: i2c multi-byte read for ESP8266? (e.g. RTC1307)

I was just wondering how this topic has developed...

Does anyone now have some working stable code for getting values from an I2C RTC module (like the DS1307)?
by warren
Sat Jul 23, 2016 1:35 pm
Forum: ESP8266 boards
Topic: WEBREPL set password error on new NODEMCU 4MB
Replies: 16
Views: 13349

Re: WEBREPL set password error on new NODEMCU 4MB

It's really simple. Just log in into github, and then click on that pencil icon in the document view. Make your change, save it, and make a pull request. Done. Actually there are three more things that need to be clarified - specifically for users who do not have 'nicely tuned' machines with correc...
by warren
Sat Jul 23, 2016 11:11 am
Forum: ESP8266 boards
Topic: WEBREPL set password error on new NODEMCU 4MB
Replies: 16
Views: 13349

Re: WEBREPL set password error on new NODEMCU 4MB

Maybe you could take a moment and make a pull request with that change? OK - I don't actually know how to do this! But I would value having access to a simple system for logging these suggestions - there have been several times where, as a newcomer, I thought 'That needs changing to avoid ambiguity...
by warren
Sat Jul 23, 2016 10:08 am
Forum: ESP8266 boards
Topic: WEBREPL set password error on new NODEMCU 4MB
Replies: 16
Views: 13349

Re: WEBREPL set password error on new NODEMCU 4MB

You need to do "make deploy" while in the "micropython/esp8266" directory. Thank you - that helps. I suggest modifying the documentation on that page ( https://github.com/micropython/micropython/tree/master/esp8266 ) Instead of simply saying To flash MicroPython image to your ESP8266, use: $ make d...
by warren
Fri Jul 22, 2016 5:36 pm
Forum: ESP8266 boards
Topic: WEBREPL set password error on new NODEMCU 4MB
Replies: 16
Views: 13349

Re: WEBREPL set password error on new NODEMCU 4MB

python esptool.py -p /dev/ttyUSB0 --baud 115200 write_flash --flash_size=4m 0 esp8266-2016-07-19-v1.8.2-19-gc3f519a.bin If you're using this command, you're guaranteed to have problems sooner or later. "--flash_size=4m" is in megabits and setting it that low may/will corrupt the firmware which is a...
by warren
Fri Jul 22, 2016 4:59 pm
Forum: Drivers for External Components
Topic: Bosch BME280 driver
Replies: 42
Views: 45897

Re: Bosch BME280 driver

OK thank you - this has been very helpful.
by warren
Fri Jul 22, 2016 1:58 pm
Forum: Drivers for External Components
Topic: Bosch BME280 driver
Replies: 42
Views: 45897

Re: Bosch BME280 driver

When you unzip it you should see a directory xtensa-lx106-elf - ensure your PATH points to it and you should be good to go, simply by moving to micropython/esp8266 in your clone of the source and following the build instructions. There is no installation required. Success!! Thank you so much. And o...
by warren
Fri Jul 22, 2016 9:45 am
Forum: Drivers for External Components
Topic: Bosch BME280 driver
Replies: 42
Views: 45897

Re: Bosch BME280 driver

Download the file, unzip it somewhere, and make sure your PATH includes the path to xtensa-lx106-elf/bin You should then be able to build your firmware by following the instructions. I downloaded and unzipped it. Unfortunately no instructions are in the unzipped folder: drwx------ 2 voldermort vold...
by warren
Fri Jul 22, 2016 9:20 am
Forum: Drivers for External Components
Topic: Bosch BME280 driver
Replies: 42
Views: 45897

Re: Bosch BME280 driver

pythoncoder wrote:You should then be able to build your firmware by following the instructions.
That is seriously helpful! Thanks so much.

I'll try it today..
by warren
Fri Jul 22, 2016 8:13 am
Forum: Drivers for External Components
Topic: Bosch BME280 driver
Replies: 42
Views: 45897

Re: Bosch BME280 driver

Using the pre-built toolchain makes this process very straightforward. Thanks for the extra info. I do understand the issue of frozen bytecode and the potential benefits. It was the relevance of the link you sent ( http://www.kaltpost.de/~wendlers/micropython/ ) that I need to clarify. Question 1: ...