Search found 82 matches

by rpr
Mon Dec 03, 2018 9:01 am
Forum: General Discussion and Questions
Topic: Learning uasyncio and futures
Replies: 20
Views: 2545

Re: Learning uasyncio and futures

Well, that's your call ;) I found cancellation and timeouts rather tricky to implement, but then I'm far too old for this kind of thing; a younger mind might polish them off in a day... The following shows gather being used with timeouts and cancellation (tested on Unix and Pyboard): ---------- Tha...
by rpr
Sun Dec 02, 2018 6:47 pm
Forum: ESP32 boards
Topic: rshell issues with an ESP32 Devkitv1 module
Replies: 0
Views: 637

rshell issues with an ESP32 Devkitv1 module

I'm having issues when rshell is used with a NodeMCU ESP32 board. It is a DEVKITV1. I have filed the following issue with the @dhylands rshell git repo. https://github.com/dhylands/rshell/issues/67 Upon power up of the module, I can rshell into it once just fine. Subsequent attempts at connecting wi...
by rpr
Sun Dec 02, 2018 12:12 am
Forum: General Discussion and Questions
Topic: ESP32 documentation
Replies: 6
Views: 1440

Re: ESP32 documentation

This is a great start. I'm happy to help. I will take a look to see what areas I can do so. Somewhat of a newbie still.
by rpr
Fri Nov 30, 2018 7:41 am
Forum: General Discussion and Questions
Topic: module documentation (ssd1306)
Replies: 8
Views: 3754

Re: module documentation (ssd1306)

I too was able to replicate this.

It took a while but I was able to setup the esp sdk toolchain required to build a firmware with the frozen bytecode. Once built everything ran fine with no memory issues.
by rpr
Fri Nov 30, 2018 7:22 am
Forum: ESP8266 boards
Topic: Flashing error? (memory allocation failed)
Replies: 8
Views: 1101

Re: Flashing error? (memory allocation failed)

It worked with the frozen files. Thanks for the help.
by rpr
Thu Nov 29, 2018 11:06 pm
Forum: ESP8266 boards
Topic: Flashing error? (memory allocation failed)
Replies: 8
Views: 1101

Re: Flashing error? (memory allocation failed)

Thanks. I figured something like that was needed. I will look up how to build.

As an aside, the demo code for the writer.py (writer_demo.py) worked just fine on my esp32 (which of course has lots more memory).
by rpr
Thu Nov 29, 2018 10:55 pm
Forum: ESP8266 boards
Topic: Flashing error? (memory allocation failed)
Replies: 8
Views: 1101

Re: Flashing error? (memory allocation failed)

I have the same issue. I don't think that there is enough memory on the ESP8266.

viewtopic.php?t=1747

The font file is quite big for me. ~18 K. while the available memory is only about 22-25 K. Maybe that is the reason that this module cannot run.
by rpr
Thu Nov 29, 2018 7:47 pm
Forum: General Discussion and Questions
Topic: module documentation (ssd1306)
Replies: 8
Views: 3754

Re: module documentation (ssd1306)

I do have an esp8266 somewhere in my box. Will look for it and see what happens.

Also realized that on the esp32 I'm using the Loboris micropython firmware. I will try on the regular micropython.
by rpr
Thu Nov 29, 2018 1:36 am
Forum: General Discussion and Questions
Topic: module documentation (ssd1306)
Replies: 8
Views: 3754

Re: module documentation (ssd1306)

I don't have an ESP8266 but an ESP32. Here is my simple example. I copied over writer.py, arial_clock.py. You would need to modify the Pin numbers. from machine import Pin, I2C from ssd1306 import SSD1306_I2C WIDTH = const(128) HEIGHT = const (64) sda_pin = Pin(26) scl_pin = Pin(25) i2c = I2C(scl=sc...