PIC16F877A microcontroller is used and the microcontroller is operated
with a 4 MHz crystal. The pulse required to operate a servomotor can very easily be obtained using the PULSOUT
statement of the PicBasic and PicBasic Pro compilers. When a 4 MHz crystal is used, the time
interval of PULSOUT is in units of 10s. For example, the following PicBasic statement generates
a pulse with a width of 1.3 ms from bit 0 of PortB (1.3 ms = 1300us and 1300/10 = 130):
PULSOUT 0, 130
if i'm using 20MHz crystal, wat is the time interval of PULSOUT? wat is the different between 4MHZ and 20MHz...i'm using picbasic to control my servo (robotic arm)
thanks