Yeah, lots of repeating code there...
For starters, move the LCDOUT commands to a subroutine.
Unless you're running HSEROUT at 150baud or something you can most likely remove the PAUSE 5 after...
Are you repeating the same code 30 times since the messages differ? Then, possibly, you could be facing this issue as strings gobble up memory pretty fast.
topline: 'top line updater sub
ofs=pos*16 'modify position offset
for x=0 to 15
i2cread sda, scl, adr, x+ofs, [y] 'write from eeprom
tline[x]=y 'write into...
Published on - 27th May 2010 03:01
Number of Views: 17015
This is an effort to help users understand how the I2C command works by comparing it with SHIFTIN/SHIFTOUT. A serial EEPROM, 24FC1025 will be used in the example.
Published on - 1st May 2010 05:59
Number of Views: 9563
With all of the added benefits or the new forum, a useful feature has been lost. This is the "Today's Post" link that was found in the "Quick Links" drop down. Due to compatibility issues with future updates from vBulletin this link can not be brought back.
But there is a couple of ways to do the same thing using the same amount of mouse clicks once it is set up.
...
Re: memory full
Yeah, lots of repeating code there...
HenrikOlsson - 21st March 2026, 07:21For starters, move the LCDOUT commands to a subroutine.
Unless you're running HSEROUT at 150baud or something you can most likely remove the PAUSE 5 after...