Search found 8 matches

by elliotwoods
Sun Apr 05, 2020 2:15 am
Forum: ESP32 boards
Topic: Neopixel compatible pins
Replies: 7
Views: 293

Re: Neopixel compatible pins

Oh I see

We use `uint32_t` to store the `pinMask`, which means that GPIO>=32 is out of range.
Looks like a simple fix.

Thank you!
Elliot
by elliotwoods
Sat Apr 04, 2020 6:11 am
Forum: ESP32 boards
Topic: Neopixel compatible pins
Replies: 7
Views: 293

Re: Neopixel compatible pins

The issue is that the GPIO register used only covers gpio 0 thru 31. A different register would have to be used. Would be a pretty small code change, but has to be done carefully to keep the timing right. As-is the only two gpios that are capable of output and that don't work are 32 and 33. Thank y...
by elliotwoods
Sat Apr 04, 2020 6:09 am
Forum: ESP32 boards
Topic: Neopixel compatible pins
Replies: 7
Views: 293

Re: Neopixel compatible pins

More results with neopixel..

GPIO <=27 works
GPIO >= 32 does not work

I'm using this board:
http://www.lilygo.cn/prod_view.aspx?Typ ... t3:50032:3
D1FAyoTA.jpeg
D1FAyoTA.jpeg (86.93 KiB) Viewed 259 times
LILYGO-4M.jpg
LILYGO-4M.jpg (133.14 KiB) Viewed 259 times
by elliotwoods
Sat Apr 04, 2020 5:39 am
Forum: ESP32 boards
Topic: Neopixel compatible pins
Replies: 7
Views: 293

Neopixel compatible pins

Hey all! I recently made up some PCB's with neopixels on board, and realised that the pin I'm using to drive them (GPIO33) doesn't work with Neopixel. Bit late now ;). It works fine on GPIO25 I'm wondering if: 1. We could add a note to the neopixel page about which GPIO pins are not compatible https...
by elliotwoods
Fri Dec 06, 2019 2:43 am
Forum: Development of MicroPython
Topic: How to build uPy going forwards?
Replies: 1
Views: 355

How to build uPy going forwards?

Hi all! As mentioned in the uPy readme, there are more reasons to write a C module for uPy than there are for normal Py. This means a lot of users will inevitably need to build uPy from source, as this is the only way to add a module. Currently the method for building is a little complicated, fragil...
by elliotwoods
Fri Dec 06, 2019 2:18 am
Forum: Development of MicroPython
Topic: Micropython Build Environment for ESP32 in a Docker Container
Replies: 11
Views: 2091

Re: Micropython Build Environment for ESP32 in a Docker Container

This is great!

Docker on Windows is best installed using their install tools + virtualisation, rather than via the Linux subsystem

Looking forward to trying this out!
by elliotwoods
Thu Dec 05, 2019 8:19 am
Forum: Development of MicroPython
Topic: c++ for module development
Replies: 1
Views: 380

c++ for module development

Hey all! Loving MicroPython, congrats on everything I'm working on a module to count Encoder values with the ESP32 hardware counters. I have it working in cpp now here: https://github.com/elliotwoods/ESP32-Quadrature-Counter/blob/master/src/Encoder.cpp I noticed that if i add a cpp file to my microp...
by elliotwoods
Wed Dec 04, 2019 8:14 am
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 15
Views: 3612

Re: Pulse counter support

Hah interesting I was looking into this exact same thing today. I implemented to C side of things: https://github.com/elliotwoods/ESP32-Quadrature-Counter/tree/master/src Now I'm looking into making it a MicroPython module for my own use To note : you can use the ESP32's hardware counter. It works p...