Search found 30 matches
- Tue Apr 20, 2021 11:05 pm
- Forum: General Discussion and Questions
- Topic: Why mp_type_framebuf is declared as STATIC?
- Replies: 3
- Views: 1807
Re: Why mp_type_framebuf is declared as STATIC?
@stijn @pythoncoder Thanks, that's very clear. I think I'll change the design of my code. As a user, I feel it a bit inconsistent that some things that can be done in Python cannot be done in the C module, but it makes sense as a development policy for MicroPython.
- Mon Apr 19, 2021 3:40 am
- Forum: General Discussion and Questions
- Topic: Why mp_type_framebuf is declared as STATIC?
- Replies: 3
- Views: 1807
Why mp_type_framebuf is declared as STATIC?
Hi guys, I have a question. I am going to make a subclass of framebuf class in my C user module. I think it is possible by pointing `mp_type_framebuf` from `parent` of my class, but it fails to build because `mp_type_framebuf` is declared as `STATIC.` include "py/runtime.h" extern mp_obj_type_t mp_t...
- Sun Dec 15, 2019 4:11 am
- Forum: Other Boards
- Topic: bare metal Raspberry Pi Zero port
- Replies: 25
- Views: 30033
Re: bare metal Raspberry Pi Zero port
No difficulties.How difficult would it be to bring the code up to the current version of MicroPython?
I just have updated the repository and now it can be built with MicroPython v1.11.
- Sat Dec 14, 2019 10:56 am
- Forum: ESP8266 boards
- Topic: Redirecting terminal/WebRepl to OLED 1306
- Replies: 32
- Views: 31230
Re: Redirecting terminal/WebRepl to OLED 1306
Hi vitalis, is it possible to add REPL redirect to ILI934X TFT displays? It seems to be possible. FBConsole requires a display to have following APIs: fill(self, color) fill_rect(self, x, y, w, h, color) scroll(self, dx, dy) hline(self, x, y, w, color) text(self, c, x, y, color) and the driver you m...
- Sat Dec 07, 2019 11:31 pm
- Forum: Other Boards
- Topic: bare metal Raspberry Pi Zero port
- Replies: 25
- Views: 30033
Re: bare metal Raspberry Pi Zero port
Since I have been adding no code to my repo this year, the code you see on the github is the latest one.
- Sun Oct 13, 2019 3:42 pm
- Forum: Programs, Libraries and Tools
- Topic: REPL on ST7735 TFT LCD
- Replies: 1
- Views: 3532
REPL on ST7735 TFT LCD
Hi, I wrote a pseudo-framebuf class for ST7735 TFT LCD. https://github.com/boochow/FBConsole/blob/master/ST7735fb.py With FBConsole class, ST7735 TFT LCD can show REPL output by using dupterm() now! (This class does not implement all of the framebuf APIs. Instead, only those used in FBConsole are av...
- Sat Apr 20, 2019 3:13 pm
- Forum: Other Boards
- Topic: STM32 F7 Discovery
- Replies: 20
- Views: 110257
- Wed Jan 09, 2019 11:55 am
- Forum: Other Boards
- Topic: [NUCLEO-F401RE] procedure to upload the MicroPython image
- Replies: 19
- Views: 23712
Re: [NUCLEO-F401RE] procedure to upload the MicroPython image
@nilo the IoT1A board has two USB ports, USB-STLink on the top right corner and USB-OTG on the top center. You can access the files through USB-OTG port only. USB-STLink port is dedicated to Mbed. Please note that ( i ) you always have to connect the USB-STLink port to power your board and ( ii ) th...
- Tue Dec 04, 2018 7:55 am
- Forum: Development of MicroPython
- Topic: How do I make a port of MicroPython for Casio calculators?
- Replies: 66
- Views: 58855
Re: How do I make a port of MicroPython for Casio calculators?
FYI
CASIO releases MicroPython for fx-CG50 (Japanese version)
https://web.casio.jp/dentaku/fxcg50/python.html
CASIO releases MicroPython for fx-CG50 (Japanese version)
https://web.casio.jp/dentaku/fxcg50/python.html
- Mon Dec 03, 2018 1:26 pm
- Forum: Other Boards
- Topic: [NUCLEO-F401RE] procedure to upload the MicroPython image
- Replies: 19
- Views: 23712
Re: [NUCLEO-F401RE] procedure to upload the MicroPython image
The easiest way to deploy MicroPython to Mbed-ready boards is to drag and drop a firmware binary onto Mbed filesystem folder. I made an archive page which has firmware binaries built on December 1, 2018 from MicroPython mainline source code. https://blog.boochow.com/micropython-firmware-for-mbed-boa...