his 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
I do not understand.
who i get %1111110 this number from the link you send my..
i am never don this before so i am lost..




Bookmarks