this is my Code at 4mhz (pic18f252)
MotorDC VAR CCPR1L
MotorOut VAR PORTC.2
MotorOn CON %1111110 '16 Pre/Post scale
MotorOff CON %1111010
MotorEnable VAR T2CON 'Timer2 ControlRegister
how to change to 20mhz to work the same like 4mhz
this is my Code at 4mhz (pic18f252)
MotorDC VAR CCPR1L
MotorOut VAR PORTC.2
MotorOn CON %1111110 '16 Pre/Post scale
MotorOff CON %1111010
MotorEnable VAR T2CON 'Timer2 ControlRegister
how to change to 20mhz to work the same like 4mhz
Last edited by jetpr; - 16th September 2005 at 01:16.
Bookmarks