Search found 54 matches

by fstengel
Mon May 25, 2020 8:39 am
Forum: ESP32 boards
Topic: mdns support
Replies: 5
Views: 785

Re: mdns support

Ouch. The file I had overlooked :oops: . Thanks for the info :D
by fstengel
Mon May 25, 2020 6:53 am
Forum: ESP32 boards
Topic: mdns support
Replies: 5
Views: 785

Re: mdns support

Interesting,

However I'm not sure that this portion of code is compiled. I do not see where MICROPY_HW_ENABLE_MDNS_RESPONDER is being defined if at all.
by fstengel
Sat May 16, 2020 11:59 am
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 1237

Re: LVGL and SD Card won't share SPI bus

I just tried @pythoncoder's SDCard class. What happens is that: claiming the bus using SPI(1) fails because the HSPI bus is already in use (by the screen). I expected that claiming the bus using SPI(2) or SPI(2, sck=Pin(18), mosi=Pin(23), miso=Pin(19)) freezes the screen. furthermore one gets a "OSE...
by fstengel
Fri May 15, 2020 6:51 am
Forum: General Discussion and Questions
Topic: What does happen during a soft reset?
Replies: 0
Views: 551

What does happen during a soft reset?

The title says it all: what exactly does happen during a soft reset? Looking through the documentation, I only found an explicit reference in the WiPy section: A soft reset simply clears the state of the MicroPython virtual machine, but leaves hardware peripherals unaffected. There are many mentions...
by fstengel
Thu Apr 30, 2020 10:05 am
Forum: General Discussion and Questions
Topic: Downloading py scripts from D1 mini
Replies: 3
Views: 215

Re: Downloading py scripts from D1 mini

You could use another tool such as or even an IDE that connects to microPython:
by fstengel
Fri Apr 17, 2020 7:37 am
Forum: General Discussion and Questions
Topic: Allocate the emergency exception buffer more than once
Replies: 3
Views: 224

Re: Allocate the emergency exception buffer more than once

Thanks.The source code is rather clear. The only thing is that I would not have found it alone: sometimes one can be overwhelmed by the amount of files to search into.
by fstengel
Thu Apr 16, 2020 2:46 pm
Forum: General Discussion and Questions
Topic: Allocate the emergency exception buffer more than once
Replies: 3
Views: 224

Allocate the emergency exception buffer more than once

Just an odd question. What happens if one allocates the emergency exception buffer (via alloc_emergency_exception_buf) more than once? Is the memory used for the first allocation lost, reallocated or anything else? I ask this since, as a sloppy programmer, I sometimes use alloc_emergency_exception_b...
by fstengel
Tue Apr 07, 2020 9:27 am
Forum: General Discussion and Questions
Topic: Check for valid bytes
Replies: 8
Views: 411

Re: Check for valid bytes

What do you mean by garbage? The sample output you give is composed of 13 bytearrays of length 4. When printing them (micro)python only escapes the bytes which do not have ans ascii representation.
by fstengel
Thu Mar 19, 2020 4:26 pm
Forum: General Discussion and Questions
Topic: Confusion about micropython.const
Replies: 4
Views: 317

Re: Confusion about micropython.const

Look there: http://docs.micropython.org/en/latest/reference/speed_python.html#the-const-declaration As far as I can tell, when you write foo=const(42) then foo is not a variable but behaves as if, as compile time, it is replaced by 42 . So your code would be seen as: from micropython import const cl...
by fstengel
Wed Mar 04, 2020 12:56 pm
Forum: ESP32 boards
Topic: ESP32 network activation resets the board
Replies: 5
Views: 445

Re: ESP32 network activation resets the board

This could almost become part of a FAQ. There are quite a few questions in the forum on the same issue (amonst them one of mine :oops:)