Search found 1388 matches

by deshipu
Fri Feb 18, 2022 10:17 pm
Forum: General Discussion and Questions
Topic: Disappearing Memory
Replies: 2
Views: 2375

Re: Disappearing Memory

The code is read and compiled all at once from a single file. Dividing it into smaller modules may help. You can also cross-compile them into .mpy files, then they are already compiled, and importing them requires less memory.
by deshipu
Sat Jan 01, 2022 11:15 pm
Forum: General Discussion and Questions
Topic: Accessing hardware from native .mpy code
Replies: 6
Views: 16456

Re: Accessing hardware from native .mpy code

Indeed, there is no difference between accessing hardware and accessing memory, and there is no barrier for me to just write the I2C module registers directly. However, it seems more reasonable to use the MicroPython's HAL, as this provides numerous benefits. The problem is, that there is little to...
by deshipu
Tue May 18, 2021 8:58 am
Forum: Programs, Libraries and Tools
Topic: SSD1306 OLED Display
Replies: 3
Views: 5308

Re: SSD1306 OLED Display

I think you are mixing up several different devices here — you have a pixel-based display, and the code you tried is for a character-based display. In any case, I wrote an article about how to display things on such OLED displays, it might be interesting to you: https://hackaday.io/page/5722-driving...
by deshipu
Thu Jan 21, 2021 9:02 am
Forum: Development of MicroPython
Topic: Maybe Micropython needs more people?
Replies: 17
Views: 17435

Re: Maybe Micropython needs more people?

No, of course, it's the job of the authors of those other pull requests to resolve any conflicts before merging.
by deshipu
Wed Jan 20, 2021 9:29 pm
Forum: Development of MicroPython
Topic: Maybe Micropython needs more people?
Replies: 17
Views: 17435

Re: Maybe Micropython needs more people?

Well, ok, but you can't expect people writing new code which affects docs which aren't merged yet to go and update those docs right? Of course I can. And I do. In most projects I have worked on, a patch that breaks documentation would never pass the review. And this can even be automated (Sphinx ca...
by deshipu
Wed Jan 20, 2021 9:17 am
Forum: Development of MicroPython
Topic: Maybe Micropython needs more people?
Replies: 17
Views: 17435

Re: Maybe Micropython needs more people?

stijn wrote:
Sun Jan 17, 2021 9:50 am
deshipu wrote:
Sat Jan 16, 2021 9:55 am
So sad it will be outdated even before it merges.
On second thought: can you elaborate what you mean specifically?
It's the fate of any large project in which the coders refuse to update the documentation as they make changes, instead relying on others to catch differences and fix it.
by deshipu
Sat Jan 16, 2021 9:55 am
Forum: Development of MicroPython
Topic: Maybe Micropython needs more people?
Replies: 17
Views: 17435

Re: Maybe Micropython needs more people?

So sad it will be outdated even before it merges.
by deshipu
Thu Dec 24, 2020 10:40 pm
Forum: General Discussion and Questions
Topic: Documentation of included modules and changes
Replies: 2
Views: 3500

Re: Documentation of included modules and changes

superace wrote:
Wed Dec 23, 2020 6:34 am
Where can I find in the documentations the change log to see what changes are made between 1.12 and 1.13?
It's posted in the announcements: https://micropython.org/resources/micro ... ngeLog.txt
by deshipu
Mon Nov 02, 2020 11:34 am
Forum: Drivers for External Components
Topic: MAX31855 Driver
Replies: 12
Views: 13217

Re: MAX31855 Driver

You just need to run "hg update" in the directory that contains the ".hg" directory to get the files. Sorry, I didn't realize they archived the repositories only, I suppose it makes sense.
by deshipu
Fri Oct 30, 2020 7:15 pm
Forum: Drivers for External Components
Topic: VL53L1X ToF distance sensor - adapting to micropython
Replies: 19
Views: 58776

Re: VL53L1X ToF distance sensor - adapting to micropython

You can just run "hg update" in the directory to which you unpacked the ".hg" directory.