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...
Competitions are subject to the privacy policy and website terms and conditions of picbasic.co.uk, owned and controlled by Crownhill Associates Limited (“Crownhill”).
The following rules shall apply, together with any instructions or rules specific to any current competition. By entering any of the community run competitions, you are deemed to have accepted the following:
...
Common Development and Distribution License (CDDL) is a free software license, produced by Sun Microsystems, based on the Mozilla Public License (MPL), version 1.1.
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...