Hi Genilsonsa,
No it's not a bug.
STibor wrote:Not include the controller "osccon" register.
Internal 4MHz clock by default.
PCON register sets the bit OSCF (1bit) or 4MHz (0bit) from 48kHz.
&
STibor wrote:Hello,
Not be used to delete the C code macro or write c code before // characters.
// Post code is not interpreted by the compiler.
Both statements are absolutely correct!
16F628A only have an internal dual speed oscillator and the default is 4MHz ( 16F828A uses PCON register which by default set at 8 = 4MHz)
This means there is no osccon register that is used like there are in other devices to select desired internal osc speed.
to work at 4MHz.
For your flowchart to compile you must remove osccon C code block as it's not required.
With no osccon register within your target device, you will get an error if left in.
If your hardware is not working then you have some other issue.