View previous topic :: View next topic |
Author |
Message |
k0jdd
Joined: 06 Jul 2010 Posts: 13
|
Thanks for a new idea... |
Posted: Fri Jul 09, 2010 6:45 pm |
|
|
I would definitely end up making trash out of the board.
I started with the PIC-EL at first because I wanted code that I knew worked... 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.
I will let you know...
(PS - I have challenged the Board Designer to make the 16F88 work...) |
|
|
k0jdd
Joined: 06 Jul 2010 Posts: 13
|
A closer look at pin b6 |
Posted: Sat Jul 10, 2010 9:53 am |
|
|
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
|
WHAT A MORON I AM!! |
Posted: Sat Jul 10, 2010 1:19 pm |
|
|
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
Thanks so much your help and more importantly for your patience... |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Jul 10, 2010 1:52 pm |
|
|
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
|
Well... |
Posted: Sat Jul 10, 2010 6:36 pm |
|
|
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 |
|
|
|