Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
hello,
i don´t find a code to control a servo over PWM into a DigitalIN.
my idea:
if DigitalIn left(p10)..............servo get to the left
if not DigitalIn left(p10)..........servo get to the middle
if DigitalIn right(p11..............servo get to the right
if not DigitalIn rigth(p11).........servo get to the middle
i have no ideas to do that? is this difficulty?
can anywhere help me??
thanks