Let's Make Robots!

StartHere robot - Arduino

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hardmouse's picture

Can someone tell me how to add the file in the post?

iRichiepoo's picture

There is a link called "file attachments" at the bottom of the page when you choose to edit the post. 

iRichiepoo's picture

There should be a button called "attach file" or "add attachment." I'd just command/control f for it. For Arduino code, it might be necessary to zip the file for it to upload. 

hardmouse's picture

Thanks!!

hardmouse's picture

You are right!! Thanks for your advice. I actually wanna add more stuff on top of it but they just too heavy for these small motors. :<

LordGG's picture

Good looking Start Here robot ! I like the metallic frame :)

I'm not familiar with Arduino yet, but I think you don't need to keep sending the forward command. You just need to recall the MoveForward() method if you call another method that changes the speed or direction of a motor. In your case, if sending the forward command doesn't change anything, the code would be easier to read and update without the variable.

If you want to keep the variable, you can remove the "if(excute == true)", because it is always true :)