Search found 2754 matches

by jimmo
Thu Oct 13, 2022 2:55 pm
Forum: ESP32 boards
Topic: Closing file takes time
Replies: 3
Views: 34522

Re: Closing file takes time

kotk_o wrote:
Thu Oct 13, 2022 2:30 pm
Believe me when I say that I searched in the forum before open this topic.
That wasn't my question though.... why didn't you post at GitHub Discussions?
kotk_o wrote:
Thu Oct 13, 2022 2:30 pm
We have the ESP32 with spiram (16MB) and FAT system.
Why FAT? Do you see this with littlefs?
by jimmo
Thu Oct 13, 2022 12:50 pm
Forum: ESP32 boards
Topic: Closing file takes time
Replies: 3
Views: 34522

Re: Closing file takes time

This forum will be made read-only soon. Please post at GitHub Discussions. (The only reason we're keeping this open was allow replied to existing threads, I'd be curious to know why people keep opening new threads - not many people are reading this forum any more). You will see that every 89 loops, ...
by jimmo
Thu Oct 13, 2022 7:13 am
Forum: Other Boards
Topic: [Portenta H7] Understanding UART/SPI/I2C naming
Replies: 1
Views: 24253

Re: [Portenta H7] Understanding UART/SPI/I2C naming

I purchased a Portenta H7 and am looking to use it for a project. I ran into a problem with the naming/pinout lineup. Please post new topics at Github Discussions instead. We're about to make this forum read-only. I suggest you try reposting there https://github.com/orgs/micropython/discussions Thi...
by jimmo
Wed Oct 12, 2022 11:57 am
Forum: Development of MicroPython
Topic: C module
Replies: 1
Views: 25679

Re: C module

This forum will be made read-only soon. Please post at GitHub Discussions. It sounds like the error message is telling you exactly what's going on -- 37 | #error "dynruntime.h included in non-dynamic-module build." If you're just writing a regular module, you should not be including dynruntime.h. I...
by jimmo
Sun Oct 09, 2022 11:16 pm
Forum: Programs, Libraries and Tools
Topic: Abstract class in MicroPython
Replies: 3
Views: 28272

Re: Abstract class in MicroPython

This forum will be made read-only soon. Please post at GitHub Discussions. MicroPython doesn't support abstract classes but if you're porting exisiting code that uses ABC, then you can just write an empty ABC class and abstractmethod decorator. See https://github.com/micropython/micropython-lib/blob...
by jimmo
Sat Oct 08, 2022 10:07 pm
Forum: MicroPython pyboard
Topic: Sd card file error when using I2C 2
Replies: 2
Views: 37440

Re: Sd card file error when using I2C 2

timonjacquemin wrote:
Sat Oct 08, 2022 5:06 pm
So, is it impossible to use both an sd card and I2C 2 at the same time? And if not, what could be causing the problem?
Definitely possible.

Need to see your code. Please post to GitHub Discussions.
by jimmo
Thu Oct 06, 2022 8:54 am
Forum: General Discussion and Questions
Topic: urequests
Replies: 3
Views: 32004

Re: urequests

As before, please open new topics at GitHub Discussions

Note the double-precision firmware you installed is a very old version (1.12).
by jimmo
Wed Oct 05, 2022 9:45 pm
Forum: General Discussion and Questions
Topic: Float/Double
Replies: 2
Views: 26627

Re: Float/Double

Please open new topics at GitHub Discussions Micropython uses whatever floating point representation the hardware provides. In this case ESP32 has single-precision floats. Python on your PC is using your PC's hardware double-precision floats. You can compile your own firmware for ESP32 with the MICR...
by jimmo
Sat Oct 01, 2022 2:30 pm
Forum: General Discussion and Questions
Topic: Timer with micro:bit? [SOLVED]
Replies: 6
Views: 36916

Re: Timer with micro:bit? [SOLVED]

My question is related to multitask. Having a model with several sensors or actuators time dependants, how do we code it in python? How many timers can we use simultaneously in one board? For instance one front sensor, one back an some pwm motors? I wrote this a few years ago at a previous job... m...
by jimmo
Sat Oct 01, 2022 1:04 pm
Forum: Development of MicroPython
Topic: [Solved] User defined data types broken 1.19.1-443
Replies: 6
Views: 33901

Re: User defined data types broken 1.19.1-443

I am convinced that (and all the rest) is original as per the 'git clone/ git pull' version, v1.19.1-461. This message is triggered by https://github.com/micropython/micropython/blob/master/ports/rp2/Makefile#L33 So if your Makefile is indeed identical then that means that make (from cmake's genera...