Mikroc Serial Interrupt

Posted : adminOn 5/18/2018

I hcekced my development board and it says it has a 7.3 MHz crystal. The config settings of the example app told it to use the internal RS oscillator which also looks like 7.3 MHz. I'm not sure its the baud rate because I usually get garbage from past experience when the baud is wrong. I am not getting anything. I was able to blink an LED so the code is getting executed. I was also able to step through in MPLab. Do the interrupt and error flags need to be cleared?

Ralf Stumpf Matcap Download Movies. Maybe I can just clear them in the main loop since it doesn't look like they are cleared anywhere else. What would happen if there was an error flag set from a startup glitch or something?

Mikroc Serial Interrupt