Remote control car with servo motor + three functions (1 with retention).
Programming for conventional radio controlled car (1 motor + servo motor) with PWM control in both speed and steering angle. Added three functions to activate the headlight, brake and an extra for any use, plus rear light. Front headlight with retention, remains activated without the need to hold button, press again to turn off. Rear light automatically turns on when braking or reversing.
Includes Servo Motor and RF Libraries to import into Sketch.
Control sketch RF24 Pololu CP2102
Car sketch Scheme Electronic
Using "millis()" in the "for" command: counter display
Counter with display sketch to exemplify the use of "millis ()" in the "for" command.
Unlike the "delay()" command, "millis()" has the advantage of not interrupting the processing of other simultaneous functions, but it is more complex, and it is rare to find reference sketches such as counters where the "for" command is used controlled by "millis" that could be the solution if the counter is added within more complex sketches with other functions being processed simultaneously.
ENJOY OTHERS ENTERTAINMENTS AND ELECTRONICS PROJECTS, IN THE HOMEPAGE