MCU Clock question

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
woxayewu
Posts: 1
Joined: 27 Aug 2021 05:39

MCU Clock question

#1 Post by woxayewu » 27 Aug 2021 07:40

Hello,
I'm not sure about setting the clock frequency in MicroC. Normally I do it with registers but in program there is a MCU Clock frequency window in left part. Is this working? If I want 8 MHz clock for example, when I write 8 MHz in there, will it set my clock to 8 MHz? I tested it and it doeesn't look like it's working for me. Thanks

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: MCU Clock question

#2 Post by janni » 30 Aug 2021 11:31

MCU Clock frequency window is for compiler use, so it can correctly calculate timing for some libraries, like UART or Delays. It does not set or influence processor clock settings.

Post Reply

Return to “PIC PRO Compilers”