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

PIC-EL III - FLEX LCD help?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
k0jdd



Joined: 06 Jul 2010
Posts: 13

View user's profile Send private message Send e-mail

Thanks for a new idea...
PostPosted: Fri Jul 09, 2010 6:45 pm     Reply with quote

I would definitely end up making trash out of the board. Shocked

I started with the PIC-EL at first because I wanted code that I knew worked...Embarassed Great plan, eh?

However, I do have a proto-board of the 'real' project I am trying to work on. The proto-board has an LCD wired into it and I can re-wire that board to use a pin other than B6.Cool

I will let you know...

(PS - I have challenged the Board Designer to make the 16F88 work...)
k0jdd



Joined: 06 Jul 2010
Posts: 13

View user's profile Send private message Send e-mail

A closer look at pin b6
PostPosted: Sat Jul 10, 2010 9:53 am     Reply with quote

I looked closer at the Pic-El II schematic.
J1-2 on HDR1 allows me to disconnect B6 from everything except the LCD

Did it - no change.

Waiting to hear from other Pic-El users on other message board.
k0jdd



Joined: 06 Jul 2010
Posts: 13

View user's profile Send private message Send e-mail

WHAT A MORON I AM!!
PostPosted: Sat Jul 10, 2010 1:19 pm     Reply with quote

Code:
setup_adc_ports(ALL_ANALOG);


is not the way to set ports to digital mode, that would be

Code:
setup_adc_ports(NO_ANALOGS);


Needless to say that was it... The forest obscurred the trees Embarassed

Thanks so much your help and more importantly for your patience...
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 10, 2010 1:52 pm     Reply with quote

Right, but the little test program that I posted for you didn't have that
line in it:
http://www.ccsinfo.com/forum/viewtopic.php?t=42989&start=10
In your next post, you implied that you ran that program and it failed.
Were you actually editing the program and adding lines to it ?
If you were, that was the wrong way to use the help.
k0jdd



Joined: 06 Jul 2010
Posts: 13

View user's profile Send private message Send e-mail

Well...
PostPosted: Sat Jul 10, 2010 6:36 pm     Reply with quote

No deliberate were made changes. I ran your program just "as is" and it failed. But at the time I was very frustrated, and it was very late, and it is ENTIRELY possible I screwed it up unintentionally.

Sorry if I somehow appeared to be unappreciative of the help -- I REALLY AM!!! Thank you, Thank you, Thank you.


BTW I was able to learn a lot in the process. For example, I have redesigned my underlying project because I have learned that pin RA4 is an open collector and RA5 is an input only on a lot of PICS including the 16F88.

That would have caused problems in my design for sure.

Thanks once again.

John
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group