Search found 10 matches

by mmx64
Fri Feb 11, 2022 1:33 pm
Forum: ESP32 boards
Topic: compile micropython with USER_C_MODULES
Replies: 1
Views: 1319

compile micropython with USER_C_MODULES

Hello, im trying to compile micropython for esp32 with this https://github.com/russhughes/st7789_mpy lcd driver, i followed all instructions sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y install build-essential libffi-dev git pkg-config cmake virtualenv python3-pip python3-virtualen...
by mmx64
Wed Sep 15, 2021 8:04 am
Forum: ESP32 boards
Topic: webrepl problem
Replies: 1
Views: 2031

webrepl problem

Hello, im trying to setup webrepl on my bord, loin32 boot.py # This file is executed on every boot (including wake-boot from deepsleep) #import esp #esp.osdebug(None) import time import network yourWifiSSID = "xxx" yourWifiPassword = "xxx" def connect(): sta_if = network.WLAN(network.STA_IF) if not ...
by mmx64
Mon Sep 13, 2021 11:27 am
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

Re: ST7735 faster library

@russ_h dooing some tests i ended up useun Raspberry pico, and when importing a vga2_8x16 and using that font , pico crashes and no more communications with it, i need to nuke flash and reproram it again. Using precompiled font vga1_bold_16x32 pico runs without a problem. import random from machine ...
by mmx64
Mon Sep 13, 2021 8:04 am
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

Re: ST7735 faster library

@russ_h Thanks, works perfect!
by mmx64
Fri Sep 10, 2021 10:05 am
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

Re: ST7735 faster library

@russ_h OKi thanks, now to understand how compiling micropython with your own modules i followed your description sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y install build-essential libffi-dev git pkg-config cmake virtualenv python3-pip python3-virtualenv git clone --recursive htt...
by mmx64
Thu Sep 09, 2021 1:27 pm
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

Re: ST7735 faster library

@pythoncoder thanks, yes i can get the display to work, maybe with some driver has missing edge lines, but all work, but they are to slow, for example the driver RobH sugested, wich is compiled into micropython firmware runs super fast but since doesnt support my display size i can use it. the drive...
by mmx64
Thu Sep 09, 2021 8:11 am
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

Re: ST7735 faster library

Thanks for reply, yes with this firmware runs pretty fast, just doesnt support my 128*160 display, any other idea?
by mmx64
Wed Sep 08, 2021 2:24 pm
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

Re: ST7735 faster library

I forget to attach code import random import ustruct as struct from ST7735 import TFT from sysfont import sysfont from machine import SPI,Pin #import micropython import time import math try: spi = SPI(1, baudrate=4000000, polarity=0, phase=0,sck=Pin(14), mosi=Pin(13), miso=None) led = Pin(5,Pin.OUT)...
by mmx64
Wed Sep 08, 2021 2:15 pm
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9338

ST7735 faster library

Hello, anyone has any working fast library for ST7735, i had try : https://github.com/boochow/MicroPython-ST7735 https://github.com/cheungbx/st7735-esp8266-micropython/blob/master/st7735.py they work but display update is so slow, and i need to display some real time data. I had also try with RP Pic...
by mmx64
Sat Aug 28, 2021 8:28 am
Forum: Raspberry Pi microcontroller boards
Topic: compile micropython with ST7735 driver
Replies: 0
Views: 1707

compile micropython with ST7735 driver

Hello, im trying to make a project with RPI pico and ST7735 tft, and using micropython display driver is to slow. Is there any way to recompile micropython with a C ST7735 display to run faster? And if it is, can anyone point me into the right direction? Or any other solution besided programing boar...