Hello~ this test is about using ADC and PWM, I use joystick because i should use it to control my robot, so i must also use PWM to control Motors.
in this demo, i had made 2 PWM channels and both of them are linked to that 2colors LED, and shown the voltage and PWM% in 16x2LCD.
if i move that Joystick, LED's color will change.
i will take this to school tomorrow, i think it can control Motors stable.
(if you remember that i had upload a RC car with joystick, i can tell you that this joystick is more stable and easy to use, last time's joystick made me crazy!!)
Link to this comment:
All Comments (0)