Quote Originally Posted by scalerobotics View Post
Code:
DEFINE OSC 20       'define crystal speed. This is 20 mhz
include "bs1defs.bas"    'lets you use definitions same as Basic Stamp 1
Hi,

No,No ... error this code has been written for a 4 Mhz Pic or BS1 ... ( pulsout units are 10µs ! )

No need any "DEFINE OSC " then ...
nor "bs1defs" ... as pins are " genuine numbered " by PBP



Other project error : Pic and Servos MUST NOT share the same supply ... if you want them to work properly ...

and R2 / R4 might get their supply from +5 v ... NO MORE !

In other words ... soft may be Ok, as Mel states ... but not Hardw. !!!

Alain