Search found 1388 matches

by deshipu
Wed Mar 30, 2016 8:06 am
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 16087

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

I you want, I will sit down this evening and try to analyze it properly and prepare osciloscope captures. I suspect it's just a missing delay somewhere.
by deshipu
Tue Mar 29, 2016 7:37 pm
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 16087

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

I did a bit of experimenting with I2C on the ESP recently, and my conclusion is, while I can't really put a finger to what is wrong, it's wrong somehow. I tried both with some I2C sensors and displays, as well as with a Pro Mini acting as an I2C slave. Sending individual bytes seems to work, most of...
by deshipu
Tue Mar 29, 2016 9:26 am
Forum: ESP8266 boards
Topic: esp8266 network run wlan.connect esp8266 restart
Replies: 10
Views: 11835

Re: esp8266 network run wlan.connect esp8266 restart

I suppose that part is still "under construction" :-)
by deshipu
Tue Mar 29, 2016 8:46 am
Forum: ESP8266 boards
Topic: esp8266 network run wlan.connect esp8266 restart
Replies: 10
Views: 11835

Re: esp8266 network run wlan.connect esp8266 restart

I can confirm the same problem with the recent code from the repository (as of 8fc5e56a6a06523ff864d309c7718885a990cb2b).

Also. WLAN.scan() no longer works:

Code: Select all

>>> wlan.scan()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument num/types mismatch
by deshipu
Mon Mar 28, 2016 1:37 pm
Forum: Announcements and News
Topic: Community Service Award for Damien George
Replies: 7
Views: 67497

Community Service Award for Damien George

I just stumbled upon this: http://pyfound.blogspot.ch/2016/03/genuinely-nice-chap-damien-george.html Congratulations, this is really well deserved! We are all really grateful for all the work going into Micropython in general, and the work on the Micro:bit port in particular is going to bring us a w...
by deshipu
Mon Mar 28, 2016 10:21 am
Forum: ESP8266 boards
Topic: esp8266 UART0 communicate with other UART device
Replies: 1
Views: 2852

Re: esp8266 UART0 communicate with other UART device

No need to modify it. You can just use prints in your program to send text to the device.
by deshipu
Sun Mar 27, 2016 1:55 pm
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 64903

Re: ssd1306 using I2C on the esp8266

Found it https://github.com/micropython/micropython/issues/573

But I remembered wrong and it's not actually what would help you here.
by deshipu
Sun Mar 27, 2016 1:38 pm
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 16087

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

There is an additional flag you can pass to readfrom and writeto to make it not end the transmission. You can use that to implement mem_read and mem_write, I think.
by deshipu
Sun Mar 27, 2016 9:51 am
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 64903

Re: ssd1306 using I2C on the esp8266

Hmm, on Arduino you would force data like this to live in the program memory, on the flash, by using PROGMEM. I vaguely remember there was some discussion about doing something similar in Micropython, but I can't find it now on the forum.
by deshipu
Sat Mar 26, 2016 9:35 pm
Forum: ESP8266 boards
Topic: Redirect REPL to a socket
Replies: 2
Views: 3464

Redirect REPL to a socket

I know that we are going to get an awesome websocket-based REPL through a web browser, but in the mean time I'm wondering if it would be possible to do something similar to this example from nodemcu, https://github.com/nodemcu/nodemcu-firmware/blob/master/lua_examples/telnet.lua , where you basicall...