Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 710 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 710 Bytes

auto_arduino_nano

Neccessary codes and libraries for the ardunio nano on the model car. Copy the libraries (MPU6050, MsTimer2, I2Cdev) to the arduino-1.6.9/libraries folder.

#main control power_board using green_button attached Pin PD4
Timer2 is used to turn off the board if green_button is pressed more than 3 seconds

Control lights using serial port commands
Timer2 is used for flashing during turing left/right

control servo motor using serial port commands
Timer1 is used to make pwm

Install MsTimer2 on {arduino-path}/libraries/
Ref:http://playground.arduino.cc/Main/MsTimer2


#servo code just for control servo motor using serial port and ardunio nano