I'm creating a ready-made robot called "Otto Quad", but I can't code it.
The creator of the robot left the code released with the instructions, but when I check it shows several errors and I don't know what I can do to make it work because I don't have much knowledge of coding yet. (This is my first project)
In fact, it is already assembled according to the scheme given by the creator. (I use the same parts he used, but I believe he used the HC-06 bluetooth module, I'm using the HC-05 and I don't know if that changes anything)
(The voltage regulator I'm using is the Xl6009 step up)
The bluetooth module would be to make the robot work through the app that they also make available on the website.
I will leave a printout of the errors that appear when compiling it, I will also leave the project creator's website. (There are all the files there)
If you need any more information about the robot, I will be at your disposal.
If anyone can help me I would be very grateful.
Yes, after I researched more about the messages that appeared. However, even when compiling the code for the robot, it remains stuck in one position and makes some sounds in the buzzer. Even connecting it to the project's own application it doesn't change just the sounds that work. But just after a few clicks it disconnects from the computer by itself.
Agree, but just a note: if the code throws all of those warnings about conversions/casts and even a "void" function returning a value, I'm not so confident the author has made a good work...
Sometimes similar things are caused by some lack of energy for motors (e.g. an insufficuent power supply). If that's not the case (but you need to make sure about that at first), at the moment I don't have enough time to examine the code, but doesn't it have some kinda "serial debug prints" so as you could see what happens?
PS: why don't you start by asking on the FB group dedicated to that OttoDIY project?