Closed ReikoR closed 2 years ago
Is the servo used for angle adjustment or ball holding?
For holding a ball sensor should be added. Otherwise it's hard to know when the servo should be stopped.
In the lab we have IS471FE sensors and 3mm IR LEDs.
The servo was for angle adjustment but I added a second servo for ball holding and a connector for the IR sensor.
PA4 pin is not 5V tolerant. From datasheet:
Also SERVO_PWN should probably be SERVO_PWM:
SERVO_PWN
SERVO_PWM
Changed the IR sensor pin to PF0 and fixed the typos.
Is the servo used for angle adjustment or ball holding?
For holding a ball sensor should be added. Otherwise it's hard to know when the servo should be stopped.
In the lab we have IS471FE sensors and 3mm IR LEDs.