michaelkamprath / ShiftRegisterLEDMatrixLib

A library for Arduino that can control LED matrices which use shift registers to manage rows and columns.
GNU Lesser General Public License v3.0
40 stars 8 forks source link

ESP32 adapt #5

Closed gurvancodying closed 5 years ago

gurvancodying commented 5 years ago

Dear, Could you help me toadapt your lib for an ESP32 board? Lot of error messages when building the code. Thanks a lot

michaelkamprath commented 5 years ago

@gurvansz The code already has been verified to work with a NodeMCU and a Wemo. Specifically what device are you trying to run it on, and what are the error messages?

gurvancodying commented 5 years ago

Hi @michaelkamprath thanks for your quick answer. The board is the Espressif ESP32. The successor of ESP8266 (NodeMCU) https://en.wikipedia.org/wiki/ESP32 The error I think is from the Timer. ESP32 doesn't use the same timer as the NodeMCU. But I don't understand well your lib, it's why i ask you :)

michaelkamprath commented 5 years ago

It turns out I had an ESP32 board in may inventory, and I found some documentation on how to create interrupt drivers on ESP32. I'll work on an update to support ESP32.

michaelkamprath commented 5 years ago

@gurvansz I was able to create a branch on the library that now supports ESP32. The branch is esp32. Please check it out and tell me if it works for you.