first off happy new year to you all, secondly HELP !!!!
my program works as expected in the simulation but when compiling i get the following message,
"D:\flowcode 7\CAL\PIC\PIC_CAL_IO.c: 209: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
Resistance Meter 3 feedback 887 MK5.c: 2278: (1393) possible hardware stack overflow detected; estimated stack depth: 9 (warning)"
ive tried the program in hardware and it doesn't work like in the simulation which i guessed would happen, ive no experience in stack over flow other than i think i may need a different chip ?? but if i understand right the stack on this chip is 8 deep ??and im exceeding this and i think the cause is checking the state of RB0 at the bottom of the program if this is the case how can i improve my program if possible but without changing the chip, this is all guesswork on my part so if im wrong which i believe i am, could some one show me the light at the end of the tunnel please
![Embarassed :oops:](./images/smilies/icon_redface.gif)
![Embarassed :oops:](./images/smilies/icon_redface.gif)
thanks in advance bob