CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 15 matches
CCS Forum Index
Author Message
  Topic: issues with multiple LCDs and the "ready" flag
lacolo

Replies: 1
Views: 4253

PostForum: General CCS C Discussion   Posted: Wed Apr 05, 2006 12:25 am   Subject: issues with multiple LCDs and the "ready" flag
Hello,

I am working on an installation with one PIC18F452 driving 10 LCDs (VK2220 - http://www.wrighthobbies.net/datasheets/VK2220.pdf)

I've modified the LCD.c to be able to communicate with var ...
  Topic: 18F4520 & edu version of compiler?
lacolo

Replies: 1
Views: 3723

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 1:31 am   Subject: 18F4520 & edu version of compiler?
Hi everyone,

I have been using my educational version of the compiler to program 18F452s. I now need to buy some more chips, but MicroChip has phased into 18F4520 - will I be able to program this ...
  Topic: LCD.C driver for multiple LCD panels?
lacolo

Replies: 1
Views: 4269

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 7:05 pm   Subject: LCD.C driver for multiple LCD panels?
This is a follow-up topic regarding driving multiple LCD panels (http://www.wrighthobbies.net/datasheets/VK2220.pdf) from one PIC18F452.

I neglected to mention that I'm using the built-in LCD.C dri ...
  Topic: One PIC controlling several LCD panels
lacolo

Replies: 11
Views: 12764

PostForum: General CCS C Discussion   Posted: Wed Mar 15, 2006 8:14 pm   Subject: LCD.C driver for multiple LCD panels?
This is a follow-up to my question regarding driving multiple LCD panels (http://www.wrighthobbies.net/datasheets/VK2220.pdf) from one PIC18F452.

I neglected to mention that I'm using the built-in ...
  Topic: One PIC controlling several LCD panels
lacolo

Replies: 11
Views: 12764

PostForum: General CCS C Discussion   Posted: Wed Mar 15, 2006 4:40 pm   Subject: One PIC controlling several LCD panels
Yes, I did succeed. So, I know the problem is in how I am addressing. I was hoping I could just set Enable to HIGH or LOW and have that do it, but apparently not.

Thanks.

//Cynthia
  Topic: One PIC controlling several LCD panels
lacolo

Replies: 11
Views: 12764

PostForum: General CCS C Discussion   Posted: Wed Mar 15, 2006 3:34 pm   Subject: One PIC controlling several LCD panels
Thanks! Just tried rewiring that (w/o the resistors), and the LCD works the same way. It works fine, communicated directly with the PIC, but the 2nd panel (for which I'm trying to toggle the Enable) ...
  Topic: One PIC controlling several LCD panels
lacolo

Replies: 11
Views: 12764

PostForum: General CCS C Discussion   Posted: Wed Mar 15, 2006 2:18 pm   Subject: One PIC controlling several LCD panels
Thanks, I guess I'll try again Smile

I am only grounding the pins I don't need (communicating with 4-bit data, doesn't use all the data pins.)

//Cynthia
  Topic: One PIC controlling several LCD panels
lacolo

Replies: 11
Views: 12764

PostForum: General CCS C Discussion   Posted: Wed Mar 15, 2006 12:46 pm   Subject: One PIC controlling several LCD panels
I'm using a PIC18F452 with LCD VK2220 (http://www.wrighthobbies.net/datasheets/VK2220.pdf) and no external hardware.

My pin setup is
LCD pins
1 --- GND
2 --- +5V
3 --- 10K Potentiometer b/w GN ...
  Topic: One PIC controlling several LCD panels
lacolo

Replies: 11
Views: 12764

PostForum: General CCS C Discussion   Posted: Tue Mar 14, 2006 7:53 pm   Subject: One PIC controlling several LCD panels
Hi everyone,

Am I right in assuming that I can control several LCD panels from one pic, where they share all pins except the Enable pin?

I am trying that, and then manually setting HIGH & LO ...
  Topic: Trouble with LCD VK2220
lacolo

Replies: 10
Views: 20794

PostForum: General CCS C Discussion   Posted: Sun Mar 12, 2006 4:41 pm   Subject: Trouble with LCD VK2220
Hi everyone,

Thanks again for all the help - it is finally working! I reworked all of the electronics onto a new breadboard, and that did it.

No idea, really, what was going on, but now, I'm al ...
  Topic: Trouble with LCD VK2220
lacolo

Replies: 10
Views: 20794

PostForum: General CCS C Discussion   Posted: Sun Mar 12, 2006 3:04 pm   Subject: Trouble with LCD VK2220
LCD pins
1 --- GND
2 --- +5V
3 --- 10K Potentiometer b/w GND & +5V
4 --- PIC pin 20 (D1)
5 --- PIC pin 21 (D2)
6 --- PIC pin 19 (D0)
7 --- 10K to GND
8 --- 10K to GND
9 ...
  Topic: Trouble with LCD VK2220
lacolo

Replies: 10
Views: 20794

PostForum: General CCS C Discussion   Posted: Sat Mar 11, 2006 5:13 pm   Subject: Trouble with LCD VK2220
Well, I just soldered a different LCD Panel (same model, VK2220), to ensure no stray wires, etc, and I'm getting the same results. 1st line of black squares.

Any other thoughts?

//Cynthia
  Topic: Trouble with LCD VK2220
lacolo

Replies: 10
Views: 20794

PostForum: General CCS C Discussion   Posted: Sat Mar 11, 2006 3:50 pm   Subject: Trouble with LCD VK2220
Thanks, but that didn't work either. I tried inserting it, received a duplication error, and then realized it is already in the LCD.C code as #if defined(__PCH__)

Any other thoughts?

//Cynthia
  Topic: Trouble with LCD VK2220
lacolo

Replies: 10
Views: 20794

PostForum: General CCS C Discussion   Posted: Sat Mar 11, 2006 10:11 am   Subject: Trouble with LCD VK2220
I have a potentiometer controlling the contrast, so I can easily adjust it. I tried that, and no luck. Any other ideas?

Thank you,
Cynthia
  Topic: Trouble with LCD VK2220
lacolo

Replies: 10
Views: 20794

PostForum: General CCS C Discussion   Posted: Fri Mar 10, 2006 10:31 pm   Subject: Trouble with LCD VK2220
I'm using PIC18F452 with LCD VK2220 (// LCD text display

//// lcd_init() Must be called before any other function. ////
//// ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group