miguelos6
miguelos6
I created testConnectivity() function at the end of loop () it simply does the same as in setup () but has condition if (!myELM327.connected) { connect steps from setup() here...
so basically I modified my old sketch for latest ELMduino 3.x and it didn't work. Used latest 2.6.4 Elmduino and it works again.. Now weird thing is .. I'm testing...
ok, so it's no longer connected with original thread, but maybe we can continue.. So, basically there is no difference between these 2 boards. They look identical, report themselves almost...
I cannot set pin as Bluetoothserial uses SPP now. Any attempt to use ELM_PORT.setPin(pin) fails at compilation.. I would need to recompile a lot : https://github.com/espressif/arduino-esp32/issues/4566#issuecomment-1653772142
so I have 3 similar (if not the same) LilyGo esp32 modules now.. 1st - the one that worked for 4 years, then suddenly stopped 2nd - worked after downgrading...
With additional debugging, comparing line by line I found this thread... https://github.com/espressif/arduino-esp32/issues/8153 downgraded boards to 2.0.17 and everything worked... (I'm still using Elmduino 2.x)