Search found 5956 matches
- Tue Aug 09, 2022 11:10 am
- Forum: Programs, Libraries and Tools
- Topic: nano-gui - Trying Adafruit 2.9" E-Ink Tri-Color display with Esp32
- Replies: 7
- Views: 7107
Re: nano-gui - Trying Adafruit 2.9" E-Ink Tri-Color display with Esp32
...I have verified the wiring many times... I'm sure you have but I'm afraid I wouldn't expect it to work. From a brief look at drivers written by others for multi-color ePaper displays I think you need a frame buffer for each color. It really is a new driver design. These displays can also be very...
- Mon Aug 08, 2022 8:07 am
- Forum: General Discussion and Questions
- Topic: FrameBuffer blit palette
- Replies: 4
- Views: 4198
Re: FrameBuffer blit palette
I'm glad you've sorted it. I guess the official docs are rather terse (my fault).
- Mon Aug 08, 2022 8:04 am
- Forum: Programs, Libraries and Tools
- Topic: nano-gui - Trying Adafruit 2.9" E-Ink Tri-Color display with Esp32
- Replies: 7
- Views: 7107
Re: nano-gui - Trying Adafruit 2.9" E-Ink Tri-Color display with Esp32
You may well be right. However I can't develop a driver for hardware which I don't possess. The ball is in your court, I'm afraid. If you can produce a driver I'll happily accept a PR.
- Mon Aug 08, 2022 8:02 am
- Forum: General Discussion and Questions
- Topic: WebREPL and uasyncio
- Replies: 9
- Views: 11508
Re: WebREPL and uasyncio
Long ago I read an explanation but I've forgotten the details. I suggest you raise a separate query or study the sourcecode.
- Fri Aug 05, 2022 11:03 am
- Forum: General Discussion and Questions
- Topic: Using local time with Pico W
- Replies: 17
- Views: 54278
Re: Using local time with Pico W
The ntptime function has a short timeout period of one second (for obvious reasons). Sometimes timeouts occur and the function returns a ridiculous result. See my solution which fixes this and other problems. My version returns 0 on error and the caller should check for this.
- Fri Aug 05, 2022 10:56 am
- Forum: General Discussion and Questions
- Topic: FrameBuffer blit palette
- Replies: 4
- Views: 4198
Re: FrameBuffer blit palette
Here is how I use it to blit monochrome glyphs onto color framebufs. The boolpalette class has two pixels in foreground and background colors: class BoolPalette(framebuf.FrameBuffer): def __init__(self, mode): buf = bytearray(4) # OK for <= 16 bit color super().__init__(buf, 2, 1, mode) def fg(self,...
- Fri Aug 05, 2022 10:46 am
- Forum: ESP8266 boards
- Topic: 8266 to send MQTT data
- Replies: 3
- Views: 23802
- Thu Aug 04, 2022 8:39 am
- Forum: General Discussion and Questions
- Topic: WebREPL and uasyncio
- Replies: 9
- Views: 11508
Re: WebREPL and uasyncio
There are a few specialist applications which can run in the background but they are very much the exception. Anything you write will not unless you've mastered some tricky programming techniques. Simply using uasyncio does not achieve background running.
- Thu Aug 04, 2022 8:35 am
- Forum: General Discussion and Questions
- Topic: Frustrations with missing libraries?
- Replies: 18
- Views: 27046
Re: Frustrations with missing libraries?
This not a code issue, per se, but development environment issue. You want a code example... import uasyncio as asyncio In any remotely recent build of MicroPython uasyncio is buit in. No installation necessary. If you're running a build where this isn't the case I strongly recommend you upgrade.
- Thu Aug 04, 2022 8:31 am
- Forum: ESP8266 boards
- Topic: 8266 to send MQTT data
- Replies: 3
- Views: 23802
Re: 8266 to send MQTT data
MQTT uses a publish/subscribe model. As you've discovered you use subscribe to receive data. You use publish to send data to any client that has subscribed to that topic. Note that you don't really send and receive to the server (broker): you exchange data with other clients. The server acts as a mi...