Search found 159 matches

by mattyt
Wed Jan 16, 2019 6:27 am
Forum: Programs, Libraries and Tools
Topic: Dotstar (aka APA102) library
Replies: 4
Views: 139

Re: Dotstar (aka APA102) library

Thanks for testing this out! Really appreciate it. First thing to try would be to use hardware SPI if you're not already. I'll need to check the Huzzah32 pinout but some ESP32 pins can support much higher SPI transfer rates; APA102's should be capable of 10's of MHz (the ESP32 can transfer SPI at a ...
by mattyt
Tue Jan 15, 2019 2:34 am
Forum: Programs, Libraries and Tools
Topic: fast font rendering on graphical displays
Replies: 6
Views: 147

Re: fast font rendering on graphical displays

Hi Zoltán, I haven't got a lot to offer right now but I'm super interested in your work! I've been experimenting with rendering to displays in MicroPython - including fonts - for a while now. Designing the right levels of abstraction is not easy; I'll try and provide some feedback when I have a chan...
by mattyt
Sun Jan 13, 2019 1:01 am
Forum: Programs, Libraries and Tools
Topic: Dotstar (aka APA102) library
Replies: 4
Views: 139

Dotstar (aka APA102) library

I've just published the MicroPython DotStar library. It's a straightforward port of Adafruit's CircuitPython DotStar library. Which was originally a port of a MicroPython Neopixel library - it's come full circle! Previously APA102 control was only supported via a port-specific module on the ESP8266 ...
by mattyt
Tue Jan 08, 2019 10:58 am
Forum: Programs, Libraries and Tools
Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
Replies: 102
Views: 39510

Re: uasyncio - asyncio-like cooperative multitasking framework for uPy

mattyt , are you sure you knock on the right door? Did you read the post above at all? Did you read the links in it? Yes, I had read the entire sordid mess. I'm well aware that I'm "knocking on the door" of the person who just willfully broke mainline MicroPython. Again. I'm going to have to take a...
by mattyt
Mon Jan 07, 2019 11:34 am
Forum: Programs, Libraries and Tools
Topic: Driver for GY-45 MMA8451 Digital Triaxial Accelerometer
Replies: 1
Views: 62

Re: Driver for GY-45 MMA8451 Digital Triaxial Accelerometer

Hi Larry, I'd suggest porting; the only difference is in the I2C driver. Take a look at MicroPython's I2C interface . Typically you should expect the I2C device to be created and passed in to your class, then just use the 'Standard bus operations' to read/write. The context managers (with device as ...
by mattyt
Mon Jan 07, 2019 10:47 am
Forum: Drivers for External Components
Topic: Bosch BNO055 IMU Driver
Replies: 2
Views: 822

Re: Bosch BNO055 IMU Driver

Heya Daks, Most of your questions can be answered if you take a look at Deshipu's code . It's only around 100 lines and very readable (I especially like the use of the partial functions Deshipu!). The example in the docstring should be particularly useful to you: import bno055 from machine import I2...
by mattyt
Sun Jan 06, 2019 7:52 am
Forum: ESP32 boards
Topic: install earlier version of lib
Replies: 1
Views: 76

Re: install earlier version of lib

Currently upip can only install the latest version of a package. See upip.py:175.

I'll try and raise a pull request to allow different versions to be installed.

In the meantime the workaround is to simply download the library you require and copy the files to your device.
by mattyt
Fri Jan 04, 2019 12:52 am
Forum: ESP32 boards
Topic: ESP32 ADC always reads 4095
Replies: 3
Views: 108

Re: ESP32 ADC always reads 4095

The documentation about that for ESP32 is pretty sparse. Tangentially...Note that I've made a start on the ESP32 documentation. You can view it or contribute via a pull request. I've just created an issue: Need to improve ADC documentation . If someone could submit a PR that'd be great! Otherwise I...
by mattyt
Thu Dec 27, 2018 3:52 am
Forum: ESP32 boards
Topic: Frequency measurement using ESP32
Replies: 7
Views: 315

Re: Frequency measurement using ESP32

RMT transmit is coming along (I've started some very rough testing locally but am not happy with the API yet) but I haven't started on the receive side. I ought to have something good enough to share in the next couple of days for transmit. It should be possible to do some quite accurate pulse measu...
by mattyt
Wed Dec 26, 2018 3:09 pm
Forum: ESP32 boards
Topic: Documentation for ESP32 Port
Replies: 13
Views: 1007

Re: Documentation for ESP32 Port

I agree that it should be consistent @OutoftheBOTS_ and have raised #4379 to cover the issue.

I'll add it to my list... ;)