Re: Initialize variables
oh oh ...
that looks Basic " C style" written ...
@first ... try not to initialize variables on the same line as you declare them ... ( one declaration block and further, one initialization block )
we could suspect the compiler to consider those are not initialization but directives ! let's say it could be a little bug ( not sure at all ... )
did you try MPLAB SIM to track your initialization sequence ??? ( excellent debugging tool, BTW ... )
Alain
Last edited by Acetronics2; - 19th February 2015 at 13:36.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks