So i need to do my project to school i assembled the car and tested it out with a simple code and it worked like nothing , but i cant imagine how the full code would look like , could someone help with it? I am adding a pic of it imgur.com/gallery/rdDODMt
imgur.com/gallery/rdDODMt copy this link
This is a link. Please read it so you know how to post images.
i added it now
The picture is at the top added now.
and the code is there:
const char* ssid = “YOUR SSID”;
const char* password = “YOUR PASSWORD”;
String data ="";
int firstmotor = 1; /* GPIO2(D4) → IN3 */
client = server.available();
if (!client) return;
data = checkClient ();
if (data == “forward”) MotorForward();
String checkClient (void)
String request = client.readStringUntil(’\r’);
The full code is going to depend on what you want the car to do. You have said nothing about that.
You should read the “How to use this forum - please read.” at the top of the discussion list which should show you how to post code and pictures to the forum. That being said, how do you want the car to operate?
zoomkat: You should read the "How to use this forum - please read." at the top of the discussion list
I already gave the OP a link to that and asked them to read it. They must have chosen to ignore it...
Unplug the USB cable from the computer and plug it into one of the below battery packs attached to the car and away it goes.