Search found 33 matches

by russ_h
Mon Apr 12, 2021 3:57 am
Forum: Raspberry Pi microcontroller boards
Topic: ST7789 Driver
Replies: 0
Views: 57

ST7789 Driver

I updated https://github.com/russhughes/st7789_mpy to support the Raspberry Pi Pico.
by russ_h
Tue Apr 06, 2021 12:12 am
Forum: General Discussion and Questions
Topic: Web server + physical button control
Replies: 5
Views: 195

Re: Web server + physical button control

You are correct, this example does not do what you are looking for.
by russ_h
Sun Apr 04, 2021 5:17 pm
Forum: General Discussion and Questions
Topic: Web server + physical button control
Replies: 5
Views: 195

Re: Web server + physical button control

Here is a quick and dirty example I've been using at my office to monitor temperatures and whether or not I forgot to turn off the lights. I was in a hurry when I wrote it so it's not an example of good python coding but it works well enough that I haven't rewritten it. https://gist.github.com/russh...
by russ_h
Fri Apr 02, 2021 12:56 am
Forum: ESP32 boards
Topic: ESP32 port now uses CMake
Replies: 18
Views: 1606

Re: ESP32 port now uses CMake

My guess is that is caused by using: #include "mpfile.c" in the st7789.c so the build system doesn't know about the QSTR's in mpfile.c. You should be able to remove the #include "mpfile.c" from st7789.c and add mpfile.c to the cmake. I did the same thing with "tjpgd565.c" but it does not have any QS...
by russ_h
Mon Mar 29, 2021 9:07 pm
Forum: General Discussion and Questions
Topic: Debugging and crash analysis techniques
Replies: 4
Views: 204

Re: Debugging and crash analysis techniques

Take a look at https://github.com/tve/esp32-backtrace, it has helped me track down a few issues with my code.
by russ_h
Fri Jan 15, 2021 1:47 am
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 3904

Re: Best driver for ili9341 display

I pushed an incomplete repo and broke the build. It should build correctly if you pull or download a new copy.

Russ
by russ_h
Fri Dec 18, 2020 2:44 am
Forum: General Discussion and Questions
Topic: Switching from phpBB to discourse?
Replies: 4
Views: 390

Re: Switching from phpBB to discourse?

I do not care for the Discourse UI at all.
by russ_h
Tue Dec 15, 2020 8:01 pm
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 3904

Re: Best driver for ili9341 display

I tried writing a native module a while ago and I was not able to make it work. Time constraints caused me to switch back to an embedded driver. I'm working on a series of IoT classes and in my case having all the important modules embedded keeps them from going missing due to error or malicious int...
by russ_h
Sat Dec 12, 2020 6:23 am
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 3904

Re: Best driver for ili9341 display

I modified the devbis st7789_mpy driver to run the ILI9342C display in the M5Stack Core. Like the st7789 driver, it writes directly to the display and is not framebuffer based. The driver is largely untested but it works. I'll be working with it this weekend. https://github.com/russhughes/ili9342c_mpy