View Full Version : Melabs Serial LCD
tazntex
- 21st May 2009, 21:10
I've done this before but its been awhile since I've used this LCD. I am sending this out serially from a 16f628a, I can't remember how to use the modifier to display the value in decimal.
here is a clip:
Serout serpinout,N9600,[$fe,$80,#resistor5,"resistor5"]
Thanks
tenaja
- 22nd May 2009, 15:04
Serout serpinout,N9600,[$fe,$80,dec resistor5,"resistor5"]
tazntex
- 22nd May 2009, 17:02
Thanks for the help.
tenaja
- 22nd May 2009, 17:26
The HELP file does wonders!
tazntex
- 22nd May 2009, 17:46
Did you mean intead of Serout serpinout,N9600,[$fe,$80,dec resistor5,"resistor5"]
Serout2 serpinout,N9600,[$fe,$80,dec resistor5,"resistor5"]
if I use the first one I received Bad Expression.
Which help file? The PBP manual or the SLCD?
Many thanks
tenaja
- 22nd May 2009, 17:53
If you want PBP to convert your byte value into a string of text for the lcd to display, then you need to read the PBP help file to learn how.
it's the
dec variable
that turns the variable into a decimal printout, a string of text.
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.