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.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
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..
so the obvious questions remain...
what do you want to do?
what result do you expect?
Where?
How?
Everybody sing this song!! Doo DAH Doo Dah !! And everybody sing this song All DeDoo Dah Day!!!
Sorry my last brain cell burned...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I'm sorry i am working with a book for make small robots and does not it speak of as obtaining the values ...
I do not want to bother nobody alone to learn.
Bookmarks