Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : Trouble writing Byte variable to LCD with Bascom & Prote : NEWTOPIC

$
0
0
Using Bascom 2.0.7.6 and Proteus 8.1, I can print (to the 16x2 LCD) anything in quotes, print a number (i.e.LCD 25), print a number constant, print a string constant, and print a string variable. However, every time I try to print a byte variable nothing happens and 4 "[AVR Memory] External Memory Write while interface is not enabled [SRE=0] messages are generated. I have the LCD WR pin connected to a port pin and the Config LCDPIN statement reflects this. Incidentally I am having the same problem if I try using the LUC_lcd4busy file or just connect the WR pin on the LCD to ground and remove the WR=Pinb.1 from the Config LCDpin line. The LCD code works fine in the Bascom simulator. Any suggestions or anyone using Proteus have similar problems? I realize this is not a Proteus forum but I am posting to both forums since the Proteus VSM product seems to be fairly popular with Bascom users. I attached the code but obviously could not attach the entire Proteus project file. Thanx Blake [b:c3d7c9d792][color=red:c3d7c9d792](BASCOM-AVR version : 2.0.7.6 )[/b:c3d7c9d792][/color:c3d7c9d792]

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>