arduino-libraries / Arduino_Alvik

Library to drive Alvik robot
Mozilla Public License 2.0
2 stars 2 forks source link

Demo codes not working? #13

Open jwmaseberg opened 1 day ago

jwmaseberg commented 1 day ago

Hi, So I uploaded the drive.ino example on an alvik but it doesn't move the motors at all. I know the code is running as a put a serial print statement in the loop to check, but the motors never turn (with the alvik switch on). I have separately tried a python example and that did work, so the hardware should be fine...

gbr1 commented 1 day ago

Hi @jwmaseberg can you tell me which version of arduino core for esp32 are you using?

@pillo79 please check this

jwmaseberg commented 1 day ago

I have Arduino AVR boards 1.8.6 installed.

gbr1 commented 1 day ago

@jwmaseberg there should be a Arduino Nano ESP32 in your board menu. You can use also the left panel, board button, and search for arduino nano esp32. A version number such as 2.0.13 should appear. Please could you tell me that version number?

jwmaseberg commented 1 day ago

Ah yes, my fault. I have "Arduino ESP32 Boards 2.0.17" installed.

gbr1 commented 1 day ago

Please try reverting to 2.0.13, we found an issue on serial pins on 2.0.17

Let me know if this fixs.

jwmaseberg commented 1 day ago

Yes, after reverting to "Arduino ESP32 Boards 2.0.13" the motors now turn using the drive code. Thanks.

gbr1 commented 1 day ago

@pillo79 it is the bug introduced in Arduino Nano ESP32 core 2.0.17

@per1234 @jwmaseberg I leave this issue open as a promemoria and close with next core release