Make code work with ESP32 boards as well #11
Reference in New Issue
Block a user
No description provided.
Delete Branch "esp32-devkit-doit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resources:
Current status is that I can make the code compile for either board. There are some parts that rely on Arduino architecture, so I can't use those directly for ESP32.
I am avoiding these parts during compile (for now), but once I wire up the board to test, I can see what doesn't work and try to fix. It may be code around the encoder function and pin change interrupts: https://thewanderingengineer.com/2014/08/11/arduino-pin-change-interrupts/
There was also a referenced encoder library that doesn't seem like it was used?
I'm also assuming the default I2C pins from here: https://deepbluembedded.com/esp32-i2c-tutorial-change-pins-i2c-scanner-arduino/
SCL GPIO22
SDA GPIO21
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.