Search found 1388 matches
- Fri Feb 18, 2022 10:17 pm
- Forum: General Discussion and Questions
- Topic: Disappearing Memory
- Replies: 2
- Views: 2650
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.
- Sat Jan 01, 2022 11:15 pm
- Forum: General Discussion and Questions
- Topic: Accessing hardware from native .mpy code
- Replies: 6
- Views: 16783
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...
- Tue May 18, 2021 8:58 am
- Forum: Programs, Libraries and Tools
- Topic: SSD1306 OLED Display
- Replies: 3
- Views: 5777
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...
- Thu Jan 21, 2021 9:02 am
- Forum: Development of MicroPython
- Topic: Maybe Micropython needs more people?
- Replies: 17
- Views: 19088
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.
- Wed Jan 20, 2021 9:29 pm
- Forum: Development of MicroPython
- Topic: Maybe Micropython needs more people?
- Replies: 17
- Views: 19088
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...
- Wed Jan 20, 2021 9:17 am
- Forum: Development of MicroPython
- Topic: Maybe Micropython needs more people?
- Replies: 17
- Views: 19088
Re: Maybe Micropython needs more people?
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.
- Sat Jan 16, 2021 9:55 am
- Forum: Development of MicroPython
- Topic: Maybe Micropython needs more people?
- Replies: 17
- Views: 19088
Re: Maybe Micropython needs more people?
So sad it will be outdated even before it merges.
- Thu Dec 24, 2020 10:40 pm
- Forum: General Discussion and Questions
- Topic: Documentation of included modules and changes
- Replies: 2
- Views: 3882
Re: Documentation of included modules and changes
It's posted in the announcements: https://micropython.org/resources/micro ... ngeLog.txt
- Mon Nov 02, 2020 11:34 am
- Forum: Drivers for External Components
- Topic: MAX31855 Driver
- Replies: 12
- Views: 13801
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.
- Fri Oct 30, 2020 7:15 pm
- Forum: Drivers for External Components
- Topic: VL53L1X ToF distance sensor - adapting to micropython
- Replies: 19
- Views: 64321
Re: VL53L1X ToF distance sensor - adapting to micropython
You can just run "hg update" in the directory to which you unpacked the ".hg" directory.