-
memory full
Hi all,
I have a application with the 16F882 and have add some data. But the memory is run over.
The '882 = 2048 words, "883 is only 4096 words.
I drive a LCD (1602) RS485 and some LEDs and buttons. Not really exciting.
But, I have 30 Hub's (0 to 29) to Open and Close and show on the LCD.
All 30 Open and Close strings are different.
After 8 Hub's in the program the memory ("882) runs out. Any advice?
Hub_ID = 0 ' Hub Open
high EN_RS485 ' Enable RS485
pause 5
hserout [0,2,0,16,67,45,255,15,222,3] ' Bus open
LCDOut $fe,$C0,"Hub ",dec Hub_ID, " is Open "
pause 5 ' Wait for last byte out
low EN_RS485 ' Disable RS485
pause 1000
high EN_RS485 ' Enable RS485
pause 5
hserout [0,2,0,16,67,47,255,15,220,3] ' Bus close
LCDOut $fe,$C0,"Hub ",dec Hub_ID, " is Close "
pause 5 ' Wait for last byte out
low EN_RS485 ' Disable RS485
pause 1000
' Do next Hub