Need help with 18f2520 variable issue

Status
Not open for further replies.

mastero

Member
Hello all,


I have run into a very funny problem...

i am using USART for communication with SIM908

everything works fine then suddenly the variables automatically change from true to false.

There is no voltage and amp issue....

any idea what causes this error ??

regards

mastero
 
If you don't mind posting your code... I'll take a look see..
 
I cant post the code ..... i will get in trouble

also the code is too long....

this happens in random ..... can a stack over or under do this ??
 
I can't help if I can't see the code... Could be a number of things...
 
found the issue and solved it ...

How many times can one use a variable example

Dim check as bit

Is there a limit for the use of variable check ?

regards

mastero
 
Variables in ram can be accessed as many times as you want... Flash has write limits as does Eeprom.. If you are storing a variable in Eeprom or flash you need to check the datasheet you are using..
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…