Author |
Message |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Sat Jul 10, 2010 6:36 pm Subject: Well... |
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 uni ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Sat Jul 10, 2010 1:19 pm Subject: WHAT A MORON I AM!! |
setup_adc_ports(ALL_ANALOG);
is not the way to set ports to digital mode, that would be
setup_adc_ports(NO_ANALOGS);
Needless to say that was it... The forest obscurred t ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Sat Jul 10, 2010 9:53 am Subject: A closer look at pin b6 |
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 b ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Fri Jul 09, 2010 6:45 pm Subject: Thanks for a new idea... |
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 ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Fri Jul 09, 2010 6:03 pm Subject: Curiouser and Curiouser |
I am 'this close' to concluding that the PIC16F88 will not work in my board in spite of what the designer says.
I googled up some 'hello world' ASM code (attached - apologies to Nigel)
... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 6:25 pm Subject: Heavy Sigh.... |
Using a PIC16F628A I can get the LCD to run using either the CCS lcd driver or the flex lcd driver.
Using a 16F88 I get the same old poor results...
(I thought for a moment it might be a low curr ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 6:11 am Subject: Still no joy |
uninstalled - rebooted - reinstalled from cd-rom
Same issues. I can't help think I am doing something wrong in my setup.
Can you email me your 16f88 source pgm and the hex file that worked for ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 7:31 pm Subject: PIC-EL III - FLEX LCD help? |
1. Was this test above done with the 16F88 ?
yes it was
2. Are you pretty sure that the 16F88 works on this board in all respects
except for the LCD ?
as far as i can tell - i will try ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 5:25 pm Subject: No Joy... |
Seems like a compiler bug is not the issue.
Compiler generates
.................... setup_adc(ADC_OFF);
0172: BCF 03.5
0173: BCF 1F.0
.................... setup ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 8:31 am Subject: PIC-EL III - FLEX LCD help? |
could this bug still exist in my compiler version 4.109?
http://www.ccsinfo.com/forum/viewtopic.php?t=40411&postdays=0&postorder=asc&highlight=16f88+lcd&start=15
i am not at home ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 6:08 am Subject: update |
Just for grins I recompiled targeting the 16F628A that came with the diagnostics on it. Of course it works JUST FINE!
Guess I need to read-up on the 16F88A-E/P
Any thoughts? |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 5:45 am Subject: PIC-EL III - FLEX LCD help? |
1. Have you tried to make the board blink an LED, using the CCS compiler to make the program (not the built-in diagnostic program) ?
yes - if i insert this code before the lcd_init () i get a blink ... |
Topic: PIC-EL III - FLEX LCD help? |
k0jdd
Replies: 19
Views: 17552
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 7:26 pm Subject: PIC-EL III - FLEX LCD help? |
I have a Pic El III demo board (
#include <16F88.H>
#fuses NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP, MCLR, HS
#use delay(crystal=4Mhz)
#define LCD_DB4 PIN_B0
#define LCD_DB5 PI ... |
|