AutoModelCar / auto_arduino_nano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:C++ 79.1%Language:C 18.8%Language:Processing 2.1%