kasamiko
Full Member level 3
- Joined
- May 23, 2004
- Messages
- 154
- Helped
- 16
- Reputation
- 32
- Reaction score
- 18
- Trophy points
- 1,298
- Location
- Philippines
- Activity points
- 1,121
I was trying to port the code for PIC16F877A to PIC18F452. I'm stuck with this line..
option_reg = %00000111
//Prescaler is assigned to the Timer0 module, 111 is Prescaler Rate Select bits which is 1:256.
Since there is no option_reg in PIC18xxx, can somebody show me some example on how to implement this in PIC18F452?
I'm using PIC18 Simulator IDE..
WBR
option_reg = %00000111
//Prescaler is assigned to the Timer0 module, 111 is Prescaler Rate Select bits which is 1:256.
Since there is no option_reg in PIC18xxx, can somebody show me some example on how to implement this in PIC18F452?
I'm using PIC18 Simulator IDE..
WBR