Author |
Message |
Topic: Delay in uS |
JulsPower
Replies: 5
Views: 5145
|
Forum: General CCS C Discussion Posted: Tue Mar 04, 2008 8:12 pm Subject: Delay in uS |
ooh you are all right
it was a int
but i already made it with a timer
and soon with int |
Topic: Delay in uS |
JulsPower
Replies: 5
Views: 5145
|
Forum: General CCS C Discussion Posted: Fri Feb 29, 2008 8:57 pm Subject: Delay in uS |
Hi
its me
again I know
I got some probly with delay_us
while(TRUE) //Main Loop
{
if(k==200)
{
output_toggle(PIN_A4);
k=0;
}
k++;
delay_us(500);
}
and
while( ... |
Topic: I want to insert the degree symbol into the GLCD 128X64 |
JulsPower
Replies: 3
Views: 5353
|
Forum: General CCS C Discussion Posted: Fri Feb 29, 2008 8:54 pm Subject: I want to insert the degree symbol into the GLCD 128X64 |
draw it
I dont know with the glcd but with the hd44780 you can write into the CG ram
check the manual you can probably do the same |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Thu Feb 28, 2008 11:55 am Subject: Some LCD |
i actually made the 16x4 lcd to work.
i have to put -5 V to the contrast source |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Tue Feb 26, 2008 9:18 pm Subject: Some LCD |
Hi again guys
it does work with my code and the flex driver but with a unitech uc-162A
put I have to put 0V for contrast to see it at a good contrast
a little more with the flex driver (i got no ... |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2008 5:34 am Subject: Some LCD |
ok but the first row is always 0x00?
optrex
dmc16443 |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Thu Feb 21, 2008 8:39 pm Subject: Some LCD |
ok again
I rewired the lcd
i have put a connector to it so now no long wire its right there on the bread board
I also put the delay cycle to 2 because im running at 8mhz
but still doesn t work ... |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Wed Feb 20, 2008 8:24 pm Subject: Some LCD |
still dont work :(
I also tried to put an external power supply
also trying to not use rw and put it to ground(i commented the define in the driver) |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Wed Feb 20, 2008 1:23 pm Subject: Some LCD |
could you configure the line on different port? like the flex??
oh and i check its a 16x4 lcd
shouldn t change anything only the char i see |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Wed Feb 20, 2008 5:44 am Subject: Some LCD |
i change this to have only port b for cmd line rs, rw, e
dont work :(
#define LCD_DB4 PIN_B4
#define LCD_DB5 PIN_B5
#define LCD_DB6 PIN_A0
#define LCD_DB7 PIN_A6
#define LCD_RS PI ... |
Topic: Some LCD |
JulsPower
Replies: 22
Views: 21553
|
Forum: General CCS C Discussion Posted: Tue Feb 19, 2008 9:13 pm Subject: Some LCD |
:(
ok
I modified by code to this
#CASE // Met le compilateur CASE SENSITIVE
#include <18F1220.h> // Fichier correspondant à notre PIC
#fuses INTRC_IO, NOPUT, NOBROWNOUT, NOWDT, ... |
|