Search found 5075 matches

by pythoncoder
Thu Apr 15, 2021 7:46 am
Forum: General Discussion and Questions
Topic: Fade 1 image to show another.
Replies: 6
Views: 263

GC9A01 display driver

OK, so the question is whether anyone has written a MicroPython driver for the GC9A01 display. I'm not aware of one, and a forum search draws a blank. You may have to DIY. This usually involves porting Arduino C code to MicroPython, a task that requires familiarity with low level coding in both lang...
by pythoncoder
Thu Apr 15, 2021 7:37 am
Forum: MicroPython pyboard
Topic: Input voltage limit, V+ as output, and actuator power supply options
Replies: 4
Views: 154

Re: Input voltage limit, V+ as output, and actuator power supply options

The two V+ pins are connected together so what you're suggesting would work. However that is not how I'd wire it as the current for your peripherals would pass through the Pyboard's PCB traces. If high currents are involved - and you mentioned actuators - this is not a good idea. Better to power the...
by pythoncoder
Thu Apr 15, 2021 7:30 am
Forum: ESP8266 boards
Topic: Difference between print() and uart.write()
Replies: 4
Views: 111

Re: Difference between print() and uart.write()

I don't really understand what you're doing here, perhaps you could clarify. The purpose of print() and uart.write() are entirely different. This is a session on a Pyboard: >>> from pyb import UART >>> uart = UART(1) >>> uart.write(b'\xff\xfd\x18') 3 >>> uart.write returns 3 because 3 bytes were tra...
by pythoncoder
Thu Apr 15, 2021 7:21 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 66
Views: 7912

Re: ESP-Now support for ESP32 (and ESP8266)

@glenn20 This looks great and you've written some excellent docs :D Re uasyncio support, is it possible to instantiate a StreamWriter associated with a specific peer? This only makes sense where the underlying send has sync=True - otherwise you'd just use a synchronous send . But I can see a use cas...
by pythoncoder
Wed Apr 14, 2021 12:14 pm
Forum: MicroPython pyboard
Topic: Input voltage limit, V+ as output, and actuator power supply options
Replies: 4
Views: 154

Re: Input voltage limit, V+ as output, and actuator power supply options

I'd never spotted that discrepancy, believing 16V was the limit on a Pyboard 1.x. The voltage regulator is rated to 16V and has thermal shutdown, so nothing will go bang, but whether the regulator will start to shut down at 16V depends on factors such as whether you draw power from 3V3, on PCB layou...
by pythoncoder
Wed Apr 14, 2021 9:25 am
Forum: General Discussion and Questions
Topic: Fade 1 image to show another.
Replies: 6
Views: 263

Re: Fade 1 image to show another.

You might be more likely to get a response if you told us what hardware you plan to use: display type and host device.
by pythoncoder
Wed Apr 14, 2021 9:22 am
Forum: General Discussion and Questions
Topic: Installing uasyncio V3
Replies: 3
Views: 186

Re: Installing uasyncio V3

In general there is no need to compile from source, unless you want to use "advanced" features like frozen bytecode. Daily builds are available here - simply download and install the latest "unstable" build. Despite the name, automated testing ensures that problems with these builds are very rare. A...
by pythoncoder
Tue Apr 13, 2021 4:47 pm
Forum: ESP32 boards
Topic: Timer and asyncio.Event()
Replies: 1
Views: 105

Re: Timer and asyncio.Event()

by pythoncoder
Mon Apr 12, 2021 5:07 pm
Forum: Raspberry Pi microcontroller boards
Topic: Wifi bridge for RPI Pico
Replies: 32
Views: 2821

Re: Wifi bridge for RPI Pico

My understanding of @frustr8dlec's question was to ask whether it was possible to re-flash an ESP-01 with code for the WiFi MQTT bridge. Using the ESP-01 as designed is a given - but supporting MQTT that way would be, er, difficult.
by pythoncoder
Mon Apr 12, 2021 7:10 am
Forum: Programs, Libraries and Tools
Topic: machine.RTC documentation
Replies: 4
Views: 146

Re: machine.RTC documentation

My advice is to use the pyb library for the Pyboard's RTC. Its documentation is correct, unlike that of machine.rtc.

All Pyboards are compatible with pyb.