Search found 352 matches

by rcolistete
Sun Apr 04, 2021 6:15 am
Forum: micro:bit boards
Topic: LCD 1.8" with GC9106 will it work with microbit ?
Replies: 6
Views: 11033

Re: LCD 1.8" with GC9106 will it work with microbit ?

BBC micro:bit v1.x has 16 kB of RAM, which 8-9 kB is free when starting MicroPython.
by rcolistete
Tue Mar 16, 2021 4:25 am
Forum: General Discussion and Questions
Topic: Writing to a text file on the pyboard fails ?.
Replies: 3
Views: 1678

Re: Writing to a text file on the pyboard fails ?.

Remember to sync the buffer with the file system after closing the file. For Pyboard, it is the pyb.sync() function :

Code: Select all

pyb.sync()
by rcolistete
Sun Mar 14, 2021 4:26 am
Forum: ESP32 boards
Topic: Trouble with CMake and flash > 4 MB
Replies: 13
Views: 8256

Re: Trouble with CMake and flash > 4 MB

AFAIK, (official) MicroPython doesn't support 8MB of PSRAM in ESP32.
by rcolistete
Fri Mar 05, 2021 8:33 pm
Forum: Other Boards
Topic: STM32WL - 1st microcontroller SoC with LoRa
Replies: 11
Views: 10704

Re: STM32WL - 1st microcontroller SoC with LoRa

3 new boards from SeeedStudio with LoRa-E5 module (using STM32WLE5JE SoC) : https://us11.campaign-archive.com/?u=0c272aa6642cc5d058579205f&id=038ad823e8&e=85c63e18b6 - LoRa-E5 Development Kit, US$24.90 : https://www.seeedstudio.com/LoRa-E5-Dev-Kit-p-4868.html https://media-cdn.seeedstudio.com/media/...
by rcolistete
Mon Mar 01, 2021 6:20 am
Forum: Programs, Libraries and Tools
Topic: confusing return values
Replies: 3
Views: 1861

Re: confusing return values

I've made a MicroPython driver module for MLX90615 infrared temperature sensor :
https://github.com/rcolistete/MicroPyth ... 615_driver
by rcolistete
Thu Feb 25, 2021 5:20 pm
Forum: General Discussion and Questions
Topic: MicroPython pyboard v1.1
Replies: 2
Views: 1600

Re: MicroPython pyboard v1.1

The MicroPython Store has in stock : - Pyboard Lite v1.0 : https://store.micropython.org/category/pyboards which is similar to Pyboard v1.1, but slower, less RAM, etc : https://store.micropython.org/pyb-features - Pyboard D SF2 (newer, with WiFi & Bluetooth) : https://store.micropython.org/product/P...
by rcolistete
Tue Feb 09, 2021 3:37 pm
Forum: Programs, Libraries and Tools
Topic: Fast crc8
Replies: 49
Views: 29531

Re: Fast crc8

What about this CRC8 ? https://github.com/rcolistete/MicroPython_MLX90615_driver https://github.com/rcolistete/MicroPython_MLX90615_driver/blob/master/mlx90615.py def _crc8(self, icrc, data): crc = icrc ^ data for _ in range(8): crc <<= 1 if crc & 0x0100: crc ^= 0x07 crc &= 0xFF return crc
by rcolistete
Thu Jan 21, 2021 10:19 pm
Forum: Programs, Libraries and Tools
Topic: Pure MicroPython Matrix (mathematics)
Replies: 8
Views: 3668

Re: Pure MicroPython Matrix (mathematics)

I suggest to use some MicroPython modules with matrix operations :
https://github.com/mcauser/awesome-micr ... #analytics
by rcolistete
Wed Jan 20, 2021 9:05 pm
Forum: MicroPython pyboard
Topic: How to run 'numpy' to change that the image to binary bits
Replies: 12
Views: 5689

Re: How to run 'numpy' to change that the image to binary bits

Use a Pyboard firmware with ulab included and read the docs of ulab.