Search found 15 matches

by rpr
Sun Dec 09, 2018 6:57 pm
Forum: Programs, Libraries and Tools
Topic: LIS3DH accelerometer
Replies: 2
Views: 180

Re: LIS3DH accelerometer

Julian, good work. While I don't have this sensor, your changes will be useful in figuring out differences between the two ports.
by rpr
Sat Dec 08, 2018 7:12 am
Forum: ESP32 boards
Topic: optimizing uasyncio performance
Replies: 26
Views: 1438

Re: optimizing uasyncio performance

I ran the script you posted. Getting times of around 1.6-1.7 ms using an ESP32 with 4 MB PSRAM running a build of the standard Micropython repo with the module uasyncio as frozen. There were other modules as well in that directory. -- idle -- -- task1 -- -- task2 -- asyncio.sleep(0) = 1701 us 280139...
by rpr
Fri Dec 07, 2018 5:48 pm
Forum: ESP32 boards
Topic: optimizing uasyncio performance
Replies: 26
Views: 1438

Re: optimizing uasyncio performance

I'm a total newbie just learning. Is it possible somehow to dedicate one of the two cores for a given task.
by rpr
Mon Dec 03, 2018 9:01 am
Forum: General Discussion and Questions
Topic: Learning uasyncio and futures
Replies: 20
Views: 783

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: 406

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: 634

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: 497

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: 333

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: 333

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: 333

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.