Total noobie here so please be kind.
I am trying to build a bluetooth remote controlled car.
I have a mega 2560 board and a uno r4 wifi board,
part of the code I am using, not written by me, fails with the r4 board but is ok with the 2560.
Welcome to the forum.
Please read How To Get The Best From This Forum and post your entire sketch using code tags, as the article explains. It is difficult to determine what may be causing an issue without seeing the code. Thanks.
Yes, the V1 version is no longer in production and is not supported. The V1 library is archived and not maintained, so the OP either must modify it or move on to the new board.
The old library only supports AVR and PIC32MX.
Imagine a wagon full of hay in a field that needs to be transported to the barn. You have several options to pull it—a horse, a donkey, or a tractor and each is powerful enough to get the job done. Think of the Arduino as the force behind the wagon; each Arduino has its own advantages and disadvantages, much like how horses come in various breeds and colors.
Similarly, the compiler takes the code you write and converts it into the language that the processor understands. It does this through several steps and needs to know the specific target processor, since different processors (like horses and tractors) require different approaches.
And if you want further help how your problem can be solved with the smallest effort.
You will have to describe your complete project very detailed to make the oroum-readers understand what you hardware you have.
The solution with the smallest effort will highly depend on these particular hardware that you are using.
So list up
size of your car
weight of your car
how many motors?
what exact type of motor? DC?, BLDC?, steppermotor? continious rotating servo?
final purpose of your car (just make it drive around for itself for fun or something more
what kind of remote-control? 433 Mhz?, 866 Mhz?, nRF24?, Bluetooth (which module?), classic RC?, WiFi?
I'm pretty sure that you agree and will follow the way how to solve your problem mimimum 200 minutes faster.
This requires to invest 20 minutes of your precious time to read how to speedup solving your problems.
Directly after registering you got presented informations how to speed up solving your problem.
You should really read it.
Hi, thanks for the reply.
I rebuilt the car and after replacing the code and the HC-05 I finally got the car to move from my phone.
The forwards and backwards buttons are reversed so I'm trying to understand the code to figure this out.
I will read the information which will hopefully help me get better.