Hi Bill,
I'm not sure if you still keep an eye on comments here but thought this the best way to reach you now that I can't leave a comment on your webpage.
I was running into issues using your code, partially due to issues I was having with my wiring but also I think because I'm using an ESP32 rather than an Arduino Uno.
I found a fork of your code here:
https://github.com/MyArduinoLib/Arduino-PS2X-ESP32/tree/master
where the only difference is everywhere you make a condition for the ESP8266 in the PS2X_lib.cpp and PS2X_lib.h it's been changed to also reference the ESP32. So lines
#ifdef ESP8266
become
#if defined(ESP8266) || defined(ESP32)
It's only a minor change and now I've fixed my wiring I've not gone back to see if that's the sole cause of the error but I thought you might want to know. That or it may be useful to someone else to see what I've discovered.
Thanks for the great library, I love it.
Many thanks
Hi Bill,
I'm not sure if you still keep an eye on comments here but thought this the best way to reach you now that I can't leave a comment on your webpage.
I was running into issues using your code, partially due to issues I was having with my wiring but also I think because I'm using an ESP32 rather than an Arduino Uno.
I found a fork of your code here:
https://github.com/MyArduinoLib/Arduino-PS2X-ESP32/tree/master
where the only difference is everywhere you make a condition for the ESP8266 in the PS2X_lib.cpp and PS2X_lib.h it's been changed to also reference the ESP32. So lines
#ifdef ESP8266
become
#if defined(ESP8266) || defined(ESP32)
It's only a minor change and now I've fixed my wiring I've not gone back to see if that's the sole cause of the error but I thought you might want to know. That or it may be useful to someone else to see what I've discovered.
Thanks for the great library, I love it.
Many thanks