Closed N3MIS15 closed 4 years ago
Hi @N3MIS15, thanks for taking a shot at this. I am also in the process of adding ESP8266 support and have run into a couple of issues that might affect this as well.
ESP_PLATFORM
https://docs.espressif.com/projects/esp-idf/en/v3.1.5/api-guides/build-system.html#preprocessor-definitionsThat is all feedback I have, for now, I have an Uno test rig set up so will give it a test a bit later when I get a chance.
Thanks again for the pull requests, really appreciate it.
I have very little knowledge about timers, interrupts and microcontroller development in general so a little insight is very much appreciated. I had a look at the ESP8266 and decided that ESP32 was a better candidate due to the analog inputs. You are correct about the analog values. ESP32 does in fact go up to 4095.
I will close this request and continue poking around getting wifi working, if anything it has at least been a learning experience.
@N3MIS15 Feel free to keep this PR open and we can get this working together,
POC - Needs Testing. This adds initial support for ESP32 devices. I have tested with a standard dev module. I have not tested again with an UNO though. If I get a chance I will knock up another breadboard for testing both devices.
Getting the timer working was just a guessing game for me. I have to admit I don't actually know if it is working correctly. Any input would be grateful.
Cheers.