In a message dated 10/16/01 10:01:09 PM Central Daylight Time, jleung00@n... writes:
> I had that problem in the very beginning too. The mistake was a wrong wiring
> of the LCD pin. Sometimes the Stampworks Experiment just defines OUTB or
> OUTA, etc. without much explanation on it. That makes the problem more
>
The StampWorks experiments are designed to work WITH the PBASIC manual -- it
says so right in the front. As engineers, we often are forced to gather
information from many sources, and StampWorks was deliberately designed in
that manner.
-- Jon Williams
-- Author, StampWorks
[noparse][[/noparse]Non-text portions of this message have been removed]
> The StampWorks experiments are designed to work WITH the PBASIC manual --
it
> says so right in the front. As engineers, we often are forced to gather
> information from many sources, and StampWorks was deliberately designed in
> that manner.
>
> -- Jon Williams
> -- Author, StampWorks
I didn't mean to say anything bad about StampWorks. Sorry for the mistake.
In fact, I find StampWorks or Nuts&Volts articles are great for learning.
John Leung
Original Message
From: <jonwms@a...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, October 17, 2001 12:40 PM
Subject: Re: [noparse][[/noparse]basicstamps] LCD
> In a message dated 10/16/01 10:01:09 PM Central Daylight Time,
> jleung00@n... writes:
>
>
> > I had that problem in the very beginning too. The mistake was a wrong
wiring
> > of the LCD pin. Sometimes the Stampworks Experiment just defines OUTB or
> > OUTA, etc. without much explanation on it. That makes the problem more
> >
>
> The StampWorks experiments are designed to work WITH the PBASIC manual --
it
> says so right in the front. As engineers, we often are forced to gather
> information from many sources, and StampWorks was deliberately designed in
> that manner.
>
> -- Jon Williams
> -- Author, StampWorks
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
I kinda know how to use the cheap LCD based on the Hitachi
44780 chipset.
Anyone know if the pinout and programming are the same for the
Hitachi HD6305Y0? I have acces to several of these displays and
would really like to use them.
I sent a message earlier but got no replies so I'll try again in case it
just didn't get there. . .
I sorta know how to use the cheap LCD with the Hitachi 44780
controller.
I have another LCD with a Hitachi HD6305Y0 chipset. Anyone
know the pinout of this display unit or is it pin-compatible with the
44780? Also, what modifications to the 44780 code would I need
to make to use this display?
I also have a display with a M50530 chipset. Any ideas on this
one??
> From: SAN CHRISTOPHER POISSON <sp71@s...>
> Reply-To: basicstamps@yahoogroups.com
> Date: Mon, 16 Sep 2002 21:02:00 -0700 (PDT)
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] lcd
>
> I see that all the lcd examples are for the 2p are there any examples for
> the bs2 ?
>
> $^_^$
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
> of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Hey guys, I am new to the basic stamp. I am trying to use a simple 2
x16 lcd screen with the bs2p stamp. I have it set up for four bit
mode and have tried downloading the sample code LCDIN to the stamp to
try it out. I cannot get it to do anything. Does anyone know what the
problem might be?
I assume you mean LCDOUT, as LCDIN reads data from the display to the Stamp.
Did you hook up power and contrast voltage? You typically have to supply 5
volts to power the logic and some other voltage near or below ground to
drive the actual LCD. See page 160 of the Stamp manual v 2.0c for details.
**********
To be conscious that you are ignorant is a great step to knowledge.
-- Benjamin Disraeli
Original Message
> Hey guys, I am new to the basic stamp. I am trying to use a simple 2
> x16 lcd screen with the bs2p stamp. I have it set up for four bit
> mode and have tried downloading the sample code LCDIN to the stamp to
> try it out. I cannot get it to do anything. Does anyone know what the
> problem might be?
I just got back into microcontrollers after about 10 years. Way back
when, I had *no* probs with my 2x16 LCD with a Moto HC11. I
struggled with the stamp. So I just copied the appnote code and it
worked. Tweaked it a bit for my project and alls cool now.
The biggest hurdle is the initialisation. After that its pretty
easy. The appnote code was a great help to me.
Throw up your code and we can take a peek. LOTS of great helpful
people here.
--- In basicstamps@y..., "billskip2002" <wskipper2@s...> wrote:
> Hey guys, I am new to the basic stamp. I am trying to use a simple
2
> x16 lcd screen with the bs2p stamp. I have it set up for four bit
> mode and have tried downloading the sample code LCDIN to the stamp
to
> try it out. I cannot get it to do anything. Does anyone know what
the
> problem might be?
I'm working on an art project and I'll need to use an LCD for the first
time. I've already experimented with the Parallax "2x16 Parallel LCD", but
I'll need sth that has 4 display lines instead of 2.
I've looked into buying the "4x20 Serial LCD" but the link to download the
manual on the Parallax website seems to be broken....
Does anyone have a copy of this pdf?! http://www.parallax.com/detail.asp?product_id=27919
I've also checked the www.seetron.com site and found the 4x20 LCD part#
BPP420L. Is it the same one that Parallax sell? Is the manual the same?
If anyone has any other suggestion... my knowledge of electronics is pretty
basic... so I'm looking into something that is easy to interface and control
with the stamp and that doesn't use too many pins, since I still need to
control a stepper and a motion sensor.
As far as I know that LCD from Parallax is the same as that from
Seetron - you can download the manual from there. I allways preferred
the serial LCDs over the parallel ones as they only need one stamp
pin and are piece of cake to use. They work very reliably and at 9600
bps they update quickly.
I allways have a serial LCD at hand for debugging purpose - you not
allways have a debug-window.
I'm working on an art project and I'll need to use an LCD for the first
time. I've already experimented with the Parallax "2x16 Parallel LCD", but
I'll need sth that has 4 display lines instead of 2.
I've looked into buying the "4x20 Serial LCD" but the link to download the
manual on the Parallax website seems to be broken....
Does anyone have a copy of this pdf?! http://www.parallax.com/detail.asp?product_id=27919
I've also checked the www.seetron.com site and found the 4x20 LCD part#
BPP420L. Is it the same one that Parallax sell? Is the manual the same?
If anyone has any other suggestion... my knowledge of electronics is pretty
basic... so I'm looking into something that is easy to interface and control
with the stamp and that doesn't use too many pins, since I still need to
control a stepper and a motion sensor.
Thanks,
Marcelo.
To UNSUBSCRIBE, just send mail to: basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>From: "Marcelo Coelho" <mh_coelh@a...>
>Reply-To: basicstamps@yahoogroups.com
>To: <basicstamps@yahoogroups.com>
>Subject: [noparse][[/noparse]basicstamps] LCD
>Date: Wed, 12 Feb 2003 10:59:08 -0500
>
>Hi,
>
>I'm working on an art project and I'll need to use an LCD for the first
>time. I've already experimented with the Parallax "2x16 Parallel LCD", but
>I'll need sth that has 4 display lines instead of 2.
>
>I've looked into buying the "4x20 Serial LCD" but the link to download the
>manual on the Parallax website seems to be broken....
>Does anyone have a copy of this pdf?!
>http://www.parallax.com/detail.asp?product_id=27919
>
>I've also checked the www.seetron.com site and found the 4x20 LCD part#
>BPP420L. Is it the same one that Parallax sell? Is the manual the same?
>
>If anyone has any other suggestion... my knowledge of electronics is pretty
>basic... so I'm looking into something that is easy to interface and
>control
>with the stamp and that doesn't use too many pins, since I still need to
>control a stepper and a motion sensor.
>
>Thanks,
>
>Marcelo.
>
>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
need some hints on pbasic to display freq on a 2x16 lcd display
demo programs work great,having a hard time displaying real
world data,some hints would be nice,thanks much
It's hard to say with so little info. Tell us more about your project, the
hardware you are using and your code, and what problems you are having. Is
the LCD a serial one or not?
Offhand, baud rates and data modifiers (like hex,dec,bin) are most likley.
At least, they often get me ;-) . If that doesn't help send more details.
Jonathan
www.madlabs.info
Original Message
From: <jopy13@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, February 21, 2003 11:05 AM
Subject: [noparse][[/noparse]basicstamps] lcd
> need some hints on pbasic to display freq on a 2x16 lcd display
> demo programs work great,having a hard time displaying real
> world data,some hints would be nice,thanks much
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
There's a bunch of information available at our web site. You can download
our LCD Character Creator program that includes demo code and standard layout
maps for character LCDs. Our StampWorks book has a few LCD experiments that
should get you started.
-- Jon Williams
-- Parallax
In a message dated 2/21/2003 1:06:13 PM Central Standard Time, jopy13@y... writes:
> need some hints on pbasic to display freq on a 2x16 lcd display
> demo programs work great,having a hard time displaying real
> world data,some hints would be nice,thanks much
[noparse][[/noparse]Non-text portions of this message have been removed]
I've recently began using the BS2sx Stamp and I was wondering if there
is a way to buffer the data I'm sending to a 2X16 serial LCD.
What is happening that I'm trying to solve is that I'm sending text to
the second line and scrolling it onto the LCD beginning at the right
side. I'm displaying a count on the first line of the display and
notice that my program stops counting while the second line text is
being scrolled from right to left. I've inserted a pause statement in
my scroll loop to display the scrolling text at the speed it looks
nice to me. [noparse]:)[/noparse]
I realize I can just display the text without scrolling, but I wanted
to get fancy just to see how it might affect the program. I'm new to
microcontrollers and just trying things out is how I learn the best.
I did a search through the LCD topics, but didn't see anything that
addresses this type of issue.
I am an Industrial Control Electrician with an electronics background
and I'm really enjoying this experience with the Basic Stamp.
I think the problem you're seeing is that the stamp is a single-threaded
device. If you are scrolling the text inside of a loop, then the stamp
is 100% occupied with that loop, and can't go out and update the count
value.
There are a number of ways to solve this, the general approach being to
"interleave" commands in between the scrolling to update the count.
Putting the portion of the code that updates/displays the count on the
first line in a subroutine, and then calling that sub in between scroll
commands would probably work best.
You could also update the entire LCD, not just the 2nd line, while
scrolling, so the count would get updated at the same time.
Hope that helps...
--
Brian
On Sat, 2003-03-29 at 19:53, Bill wrote:
> What is happening that I'm trying to solve is that I'm sending text to
> the second line and scrolling it onto the LCD beginning at the right
> side. I'm displaying a count on the first line of the display and
> notice that my program stops counting while the second line text is
> being scrolled from right to left. I've inserted a pause statement in
> my scroll loop to display the scrolling text at the speed it looks
> nice to me. [noparse]:)[/noparse]
>I think the problem you're seeing is that the stamp is a single-threaded
>device. If you are scrolling the text inside of a loop, then the stamp
>is 100% occupied with that loop, and can't go out and update the count
>value.
>
>There are a number of ways to solve this, the general approach being to
>"interleave" commands in between the scrolling to update the count.
>
>Putting the portion of the code that updates/displays the count on the
>first line in a subroutine, and then calling that sub in between scroll
>commands would probably work best.
>
>You could also update the entire LCD, not just the 2nd line, while
>scrolling, so the count would get updated at the same time.
>
>Hope that helps...
Thanks for the help... I looked over my program and now realize it is
the single threaded characteristic that is affecting what I want to
do.
On another note, are the LCD graphics displays the only ones with
multiple screen memories? In these screen memories, can they contain
scrolling like I was attempting with my program? If not, would giving
the task to another Stamp be a way to handle this type of thing?
I am used to PLCs, so this is all pretty new and interesting stuff. [noparse]:)[/noparse]
I am very impressed with all the knowledge that abounds in this email
list and the eagerness to help others.
I have bought a ton of parts recently just to experiment with the
different parts I've read about on this list in past months.
Comments
jleung00@n... writes:
> I had that problem in the very beginning too. The mistake was a wrong wiring
> of the LCD pin. Sometimes the Stampworks Experiment just defines OUTB or
> OUTA, etc. without much explanation on it. That makes the problem more
>
The StampWorks experiments are designed to work WITH the PBASIC manual -- it
says so right in the front. As engineers, we often are forced to gather
information from many sources, and StampWorks was deliberately designed in
that manner.
-- Jon Williams
-- Author, StampWorks
[noparse][[/noparse]Non-text portions of this message have been removed]
it
> says so right in the front. As engineers, we often are forced to gather
> information from many sources, and StampWorks was deliberately designed in
> that manner.
>
> -- Jon Williams
> -- Author, StampWorks
I didn't mean to say anything bad about StampWorks. Sorry for the mistake.
In fact, I find StampWorks or Nuts&Volts articles are great for learning.
John Leung
Original Message
From: <jonwms@a...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, October 17, 2001 12:40 PM
Subject: Re: [noparse][[/noparse]basicstamps] LCD
> In a message dated 10/16/01 10:01:09 PM Central Daylight Time,
> jleung00@n... writes:
>
>
> > I had that problem in the very beginning too. The mistake was a wrong
wiring
> > of the LCD pin. Sometimes the Stampworks Experiment just defines OUTB or
> > OUTA, etc. without much explanation on it. That makes the problem more
> >
>
> The StampWorks experiments are designed to work WITH the PBASIC manual --
it
> says so right in the front. As engineers, we often are forced to gather
> information from many sources, and StampWorks was deliberately designed in
> that manner.
>
> -- Jon Williams
> -- Author, StampWorks
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
I kinda know how to use the cheap LCD based on the Hitachi
44780 chipset.
Anyone know if the pinout and programming are the same for the
Hitachi HD6305Y0? I have acces to several of these displays and
would really like to use them.
What about one with a chipset M50530?
Thanks.
I sent a message earlier but got no replies so I'll try again in case it
just didn't get there. . .
I sorta know how to use the cheap LCD with the Hitachi 44780
controller.
I have another LCD with a Hitachi HD6305Y0 chipset. Anyone
know the pinout of this display unit or is it pin-compatible with the
44780? Also, what modifications to the 44780 code would I need
to make to use this display?
I also have a display with a M50530 chipset. Any ideas on this
one??
Thanks.
Doug
Can I use the Powertip LCD PC 1602-H instead of the HD44780 on the BS2P ?
Thanks in advance
Johan
[noparse][[/noparse]Non-text portions of this message have been removed]
negative contrast bias. Otherwise, the driver is compatible.
-- Jon Williams
-- Parallax
In a message dated 8/28/02 2:32:34 PM Central Daylight Time,
johan.v@p... writes:
> Hello ,
> Can I use the Powertip LCD PC 1602-H instead of the HD44780 on the BS2P ?
> Thanks in advance
>
[noparse][[/noparse]Non-text portions of this message have been removed]
the bs2 ?
$^_^$
> From: SAN CHRISTOPHER POISSON <sp71@s...>
> Reply-To: basicstamps@yahoogroups.com
> Date: Mon, 16 Sep 2002 21:02:00 -0700 (PDT)
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] lcd
>
> I see that all the lcd examples are for the 2p are there any examples for
> the bs2 ?
>
> $^_^$
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
> of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
for the BS2.
-- Jon Williams
-- Parallax
In a message dated 9/16/02 11:05:11 PM Central Daylight Time, sp71@s...
writes:
> I see that all the lcd examples are for the 2p are there any examples for
> the bs2 ?
>
[noparse][[/noparse]Non-text portions of this message have been removed]
x16 lcd screen with the bs2p stamp. I have it set up for four bit
mode and have tried downloading the sample code LCDIN to the stamp to
try it out. I cannot get it to do anything. Does anyone know what the
problem might be?
Did you hook up power and contrast voltage? You typically have to supply 5
volts to power the logic and some other voltage near or below ground to
drive the actual LCD. See page 160 of the Stamp manual v 2.0c for details.
**********
To be conscious that you are ignorant is a great step to knowledge.
-- Benjamin Disraeli
Original Message
> Hey guys, I am new to the basic stamp. I am trying to use a simple 2
> x16 lcd screen with the bs2p stamp. I have it set up for four bit
> mode and have tried downloading the sample code LCDIN to the stamp to
> try it out. I cannot get it to do anything. Does anyone know what the
> problem might be?
when, I had *no* probs with my 2x16 LCD with a Moto HC11. I
struggled with the stamp. So I just copied the appnote code and it
worked. Tweaked it a bit for my project and alls cool now.
The biggest hurdle is the initialisation. After that its pretty
easy. The appnote code was a great help to me.
Throw up your code and we can take a peek. LOTS of great helpful
people here.
--- In basicstamps@y..., "billskip2002" <wskipper2@s...> wrote:
> Hey guys, I am new to the basic stamp. I am trying to use a simple
2
> x16 lcd screen with the bs2p stamp. I have it set up for four bit
> mode and have tried downloading the sample code LCDIN to the stamp
to
> try it out. I cannot get it to do anything. Does anyone know what
the
> problem might be?
I'm working on an art project and I'll need to use an LCD for the first
time. I've already experimented with the Parallax "2x16 Parallel LCD", but
I'll need sth that has 4 display lines instead of 2.
I've looked into buying the "4x20 Serial LCD" but the link to download the
manual on the Parallax website seems to be broken....
Does anyone have a copy of this pdf?!
http://www.parallax.com/detail.asp?product_id=27919
I've also checked the www.seetron.com site and found the 4x20 LCD part#
BPP420L. Is it the same one that Parallax sell? Is the manual the same?
If anyone has any other suggestion... my knowledge of electronics is pretty
basic... so I'm looking into something that is easy to interface and control
with the stamp and that doesn't use too many pins, since I still need to
control a stepper and a motion sensor.
Thanks,
Marcelo.
Seetron - you can download the manual from there. I allways preferred
the serial LCDs over the parallel ones as they only need one stamp
pin and are piece of cake to use. They work very reliably and at 9600
bps they update quickly.
I allways have a serial LCD at hand for debugging purpose - you not
allways have a debug-window.
Regards
Adrian
provide manuals with their products.
I've just recently became aware of www.simmetry.com with an interesting
serial display.
Owner of products from both companies, affiliated with neither.
Regards,
Daniel
Original Message
From: Marcelo Coelho [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2vUYwc7TcbmlNrzMsy_34SiWp1lAIc58P28LPVHkwiNeL2i5TDzOQYpViQTM7AolggQ9OoZgUld0vb3gH7NPo_Q6CD3Gtw]mh_coelh@a...[/url
Sent: Wednesday, February 12, 2003 10:59 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] LCD
Hi,
I'm working on an art project and I'll need to use an LCD for the first
time. I've already experimented with the Parallax "2x16 Parallel LCD", but
I'll need sth that has 4 display lines instead of 2.
I've looked into buying the "4x20 Serial LCD" but the link to download the
manual on the Parallax website seems to be broken....
Does anyone have a copy of this pdf?!
http://www.parallax.com/detail.asp?product_id=27919
I've also checked the www.seetron.com site and found the 4x20 LCD part#
BPP420L. Is it the same one that Parallax sell? Is the manual the same?
If anyone has any other suggestion... my knowledge of electronics is pretty
basic... so I'm looking into something that is easy to interface and control
with the stamp and that doesn't use too many pins, since I still need to
control a stepper and a motion sensor.
Thanks,
Marcelo.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
http://www.parallax.com/Downloads/Documentation/audiovis/4_20_LCD.pdf
>From: "Marcelo Coelho" <mh_coelh@a...>
>Reply-To: basicstamps@yahoogroups.com
>To: <basicstamps@yahoogroups.com>
>Subject: [noparse][[/noparse]basicstamps] LCD
>Date: Wed, 12 Feb 2003 10:59:08 -0500
>
>Hi,
>
>I'm working on an art project and I'll need to use an LCD for the first
>time. I've already experimented with the Parallax "2x16 Parallel LCD", but
>I'll need sth that has 4 display lines instead of 2.
>
>I've looked into buying the "4x20 Serial LCD" but the link to download the
>manual on the Parallax website seems to be broken....
>Does anyone have a copy of this pdf?!
>http://www.parallax.com/detail.asp?product_id=27919
>
>I've also checked the www.seetron.com site and found the 4x20 LCD part#
>BPP420L. Is it the same one that Parallax sell? Is the manual the same?
>
>If anyone has any other suggestion... my knowledge of electronics is pretty
>basic... so I'm looking into something that is easy to interface and
>control
>with the stamp and that doesn't use too many pins, since I still need to
>control a stepper and a motion sensor.
>
>Thanks,
>
>Marcelo.
>
>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
demo programs work great,having a hard time displaying real
world data,some hints would be nice,thanks much
It's hard to say with so little info. Tell us more about your project, the
hardware you are using and your code, and what problems you are having. Is
the LCD a serial one or not?
Offhand, baud rates and data modifiers (like hex,dec,bin) are most likley.
At least, they often get me ;-) . If that doesn't help send more details.
Jonathan
www.madlabs.info
Original Message
From: <jopy13@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, February 21, 2003 11:05 AM
Subject: [noparse][[/noparse]basicstamps] lcd
> need some hints on pbasic to display freq on a 2x16 lcd display
> demo programs work great,having a hard time displaying real
> world data,some hints would be nice,thanks much
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
our LCD Character Creator program that includes demo code and standard layout
maps for character LCDs. Our StampWorks book has a few LCD experiments that
should get you started.
-- Jon Williams
-- Parallax
In a message dated 2/21/2003 1:06:13 PM Central Standard Time,
jopy13@y... writes:
> need some hints on pbasic to display freq on a 2x16 lcd display
> demo programs work great,having a hard time displaying real
> world data,some hints would be nice,thanks much
[noparse][[/noparse]Non-text portions of this message have been removed]
I've recently began using the BS2sx Stamp and I was wondering if there
is a way to buffer the data I'm sending to a 2X16 serial LCD.
What is happening that I'm trying to solve is that I'm sending text to
the second line and scrolling it onto the LCD beginning at the right
side. I'm displaying a count on the first line of the display and
notice that my program stops counting while the second line text is
being scrolled from right to left. I've inserted a pause statement in
my scroll loop to display the scrolling text at the speed it looks
nice to me. [noparse]:)[/noparse]
I realize I can just display the text without scrolling, but I wanted
to get fancy just to see how it might affect the program. I'm new to
microcontrollers and just trying things out is how I learn the best.
I did a search through the LCD topics, but didn't see anything that
addresses this type of issue.
I am an Industrial Control Electrician with an electronics background
and I'm really enjoying this experience with the Basic Stamp.
Thanks,
Bill
device. If you are scrolling the text inside of a loop, then the stamp
is 100% occupied with that loop, and can't go out and update the count
value.
There are a number of ways to solve this, the general approach being to
"interleave" commands in between the scrolling to update the count.
Putting the portion of the code that updates/displays the count on the
first line in a subroutine, and then calling that sub in between scroll
commands would probably work best.
You could also update the entire LCD, not just the 2nd line, while
scrolling, so the count would get updated at the same time.
Hope that helps...
--
Brian
On Sat, 2003-03-29 at 19:53, Bill wrote:
> What is happening that I'm trying to solve is that I'm sending text to
> the second line and scrolling it onto the LCD beginning at the right
> side. I'm displaying a count on the first line of the display and
> notice that my program stops counting while the second line text is
> being scrolled from right to left. I've inserted a pause statement in
> my scroll loop to display the scrolling text at the speed it looks
> nice to me. [noparse]:)[/noparse]
>I think the problem you're seeing is that the stamp is a single-threaded
>device. If you are scrolling the text inside of a loop, then the stamp
>is 100% occupied with that loop, and can't go out and update the count
>value.
>
>There are a number of ways to solve this, the general approach being to
>"interleave" commands in between the scrolling to update the count.
>
>Putting the portion of the code that updates/displays the count on the
>first line in a subroutine, and then calling that sub in between scroll
>commands would probably work best.
>
>You could also update the entire LCD, not just the 2nd line, while
>scrolling, so the count would get updated at the same time.
>
>Hope that helps...
Thanks for the help... I looked over my program and now realize it is
the single threaded characteristic that is affecting what I want to
do.
On another note, are the LCD graphics displays the only ones with
multiple screen memories? In these screen memories, can they contain
scrolling like I was attempting with my program? If not, would giving
the task to another Stamp be a way to handle this type of thing?
I am used to PLCs, so this is all pretty new and interesting stuff. [noparse]:)[/noparse]
I am very impressed with all the knowledge that abounds in this email
list and the eagerness to help others.
I have bought a ton of parts recently just to experiment with the
different parts I've read about on this list in past months.
Thanks,
Bill
Are LCD graphic displays the only ones with multiple screen memories?
I EXECUTE THE PROGRAM AND AT THE END I WANT TO WRITE
TO A LCD "THATS OK!"
____________________________________________________________
Do You Yahoo!?
LCD AppMod -- you can download the demo files from this link:
http://www.parallax.com/detail.asp?product_id=29121
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: andonis konstantinidis [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=VBApzPteDkHLM9jKz8zV2rhI8iUkSyLZM9XKzJpU1lb4jMNffd5hjIbNf0nVi5CKzk5dSe7ZUl6jEktf]andoniskgr@y...[/url
Sent: Wednesday, July 21, 2004 7:41 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] LCD
HELLO!
I EXECUTE THE PROGRAM AND AT THE END I WANT TO WRITE
TO A LCD "THATS OK!"