by kushlik » Fri Jun 06, 2008 4:00 pm
by kushlik
Fri Jun 06, 2008 4:00 pm
i use external resistors, since in PIC 16F, internal pullups are only available for one port (8 IO lines). I use 4.7K pull-up resistor and simply switch the io direction to "input" when the servo is supposed to respond - this way you only need one io port per servo and don't need any circuitry other than the pull-up resistor.
i use external resistors, since in PIC 16F, internal pullups are only available for one port (8 IO lines). I use 4.7K pull-up resistor and simply switch the io direction to "input" when the servo is supposed to respond - this way you only need one io port per servo and don't need any circuitry other than the pull-up resistor.