Thanx for the reply Bruce. The problem I am having however is not with the compiler but the programmer. In the MElabs programming softwear for the EPIC I can change the configuration fuses. My understanding was that with a 20MHz ceramic resinator if i select Osillator type as HSPLL for Pic18f4550 and use the pll divisions as 5 with the mcu clock division as 2 this should give me a frequency of 48MHz. This is according to the data sheet. however when i do this and try to send data through port B.7 at 9600, the data actually comes in at 115200. I do define the osc at 48 in the program. this is the problem.
any ideas
thanx
sam
Bookmarks