Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
3 axis to display on 4X20 LCD — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
BASIC Stamp
3 axis to display on 4X20 LCD
lasernerd
Posts:
7
2008-07-28 00:25
edited 2008-07-29 01:56
in
BASIC Stamp
Ok how can i get the LCD screen to display the data instead of the PC debug screen
bs2,4x20 LCD,H48C
Comments
Franklin
Posts:
4,747
2008-07-28 00:51
edited 2008-07-28 00:51
Start by reading the documentation that came with the LCD and the stamp editor help file on serout.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
beazleybub
Posts:
102
2008-07-28 07:01
edited 2008-07-28 07:01
lasernerd,
Do you have a serial or parallel LCD?
If you are using a parallel LCD it would me much easier and resourceful to use a serial LCD converter board from Modern Device Co.
http://www.moderndevice.com/LCD.shtml
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
What if there was nothing? Nothing is something!
lasernerd
Posts:
7
2008-07-28 14:55
edited 2008-07-28 14:55
I do have the serial LCD.3 pin. gnd.5v,rx
beazleybub
Posts:
102
2008-07-28 15:26
edited 2008-07-28 15:26
Have a look here.
http://www.parallax.com/dl/docs/prod/audiovis/SICSerialLcd.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
What if there was nothing? Nothing is something!
lasernerd
Posts:
7
2008-07-29 01:08
edited 2008-07-29 01:08
thanks!
I got a quick schooling there,but it is still not clear to me how to display the 3 axis data..
PJAllen
Banned
Posts:
5,065
2008-07-29 01:56
edited 2008-07-29 01:56
I suppose your 3-axis data are associated with a unique variable.
·
Long story short -- you would use SEROUT to send those values to the LCD.
SEROUT
pin#, baudmode,
[noparse][[/noparse]DEC xaxis, DEC yaxis, DECzaxis]
Spend some time with PBASIC Help, specifically SEROUT.
·
If you need more details then upload your program as an attachment.
Sign In
or
Register
to comment.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Do you have a serial or parallel LCD?
If you are using a parallel LCD it would me much easier and resourceful to use a serial LCD converter board from Modern Device Co. http://www.moderndevice.com/LCD.shtml
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
What if there was nothing? Nothing is something!
http://www.parallax.com/dl/docs/prod/audiovis/SICSerialLcd.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
What if there was nothing? Nothing is something!
I got a quick schooling there,but it is still not clear to me how to display the 3 axis data..
SEROUT pin#, baudmode, [noparse][[/noparse]DEC xaxis, DEC yaxis, DECzaxis]
Spend some time with PBASIC Help, specifically SEROUT.· If you need more details then upload your program as an attachment.