<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>MEL PICBASIC Forum</title>
		<link>https://www.picbasic.co.uk/forum/</link>
		<description>MEL PICBASIC Discussion Community</description>
		<language>en</language>
		<lastBuildDate>Tue, 14 Apr 2026 03:27:23 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://www.picbasic.co.uk/forum/images/misc/rss.png</url>
			<title>MEL PICBASIC Forum</title>
			<link>https://www.picbasic.co.uk/forum/</link>
		</image>
		<item>
			<title>memory full</title>
			<link>https://www.picbasic.co.uk/forum/showthread.php/27113-memory-full?goto=newpost</link>
			<pubDate>Fri, 20 Mar 2026 11:33:32 GMT</pubDate>
			<description><![CDATA[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....]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I have a application with the 16F882 and have add some data. But the memory is run over.<br />
The '882 = 2048 words, &quot;883 is only 4096 words.<br />
<br />
I drive a LCD (1602) RS485 and some LEDs and buttons. Not really exciting.<br />
<br />
But, I have 30 Hub's (0 to 29)  to Open and Close and show on the LCD.<br />
<br />
All 30 Open and Close strings are different.<br />
<br />
<br />
After 8 Hub's in the program the memory (&quot;882) runs out. Any advice? <br />
<br />
<br />
Hub_ID = 0                                                       '  Hub Open<br />
    <br />
    high EN_RS485                                              '  Enable RS485    <br />
    pause 5<br />
    hserout [0,2,0,16,67,45,255,15,222,3]           '  Bus open    <br />
    LCDOut $fe,$C0,&quot;Hub &quot;,dec Hub_ID, &quot; is Open  &quot;<br />
    pause 5                                                       '  Wait for last byte out <br />
    low EN_RS485                                             '  Disable RS485 <br />
    <br />
    pause 1000     <br />
<br />
    high EN_RS485                                             '  Enable RS485    <br />
    pause 5<br />
    hserout [0,2,0,16,67,47,255,15,220,3]           '  Bus close  <br />
    LCDOut $fe,$C0,&quot;Hub &quot;,dec Hub_ID, &quot; is Close &quot;<br />
    pause 5                                                       '  Wait for last byte out <br />
    low EN_RS485                                             '  Disable RS485  <br />
    <br />
    pause 1000<br />
<br />
    <br />
   ' Do next Hub</div>

]]></content:encoded>
			<category domain="https://www.picbasic.co.uk/forum/forumdisplay.php/4-mel-PIC-BASIC-Pro">mel PIC BASIC Pro</category>
			<dc:creator>Gevo</dc:creator>
			<guid isPermaLink="true">https://www.picbasic.co.uk/forum/showthread.php/27113-memory-full</guid>
		</item>
	</channel>
</rss>
