Report Bugs Here

Moderator: Mmiscool

User avatar
By rodrigocirilo
#56667 Hello everyone..

I'm doing a test here to write to "eeprom" any value and then assign that value to a variable and then print on the screen (browser). however gives this error:

Error at line 2: Failed to reach end of input expression, likely malformed input
Error at line 2: Syntax error
Error at line 2: Halted


Code: Select allx = 0
write (save1,100)
print (x)
delay 1000
x = read(save1)
print (x)
User avatar
By Electroguard
#56700 I think something has been lost in translation, cos I don't think you'd want to know my neighbours, nor see my Xmas card list.

I'd guess you are asking how many variables you can write to flash memory then reliably read back ok, but that is a bit like asking how long is a piece of string - you are not going to get a definitive answer because it will depend on what device you are using, how much flash memory it has available, and presumably on how long are your variable names and their related data.

But don't worry about it!
Just keep using the flashfree() instruction periodically to see how much flash memory you still have remaining after writing a load more variables to it... you should be able to see when you're getting too low.