Author |
Message |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 7:09 pm Subject: LED dot matrix blinking... |
I've tried out the lastest codes that you sent to me.
The results are almost similar to the previous. I've
also tried to set "port_d_mask=0xFF" with the
"startposition++" commented out to let all t ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 12:55 am Subject: LED dot matrix blinking... |
I have tested the program out but the problem still exist especially at the second half of the columns (column 40-79). The 2nd column for the char.'D' has been skipped & shfited.
I'll email th ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Wed Dec 08, 2004 8:05 pm Subject: LED dot matrix blinking... |
What else does the program do? Any ints? Could you post the whole thing? Also, did you get rid of the leading blank for each char making your const data only 5 members?
I have get rid of all t ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Wed Dec 08, 2004 7:48 pm Subject: LED dot matrix blinking... |
What else does the program do? Any ints? Could you post the whole thing?
Can I send my whole program to your email? I believe it is quite lengthy.
Besides displaying the chars., the program need ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Wed Dec 08, 2004 6:42 pm Subject: LED dot matrix blinking... |
I've tried the test program with my prototype & all the LEDs are successfully lighted up when I output 0xFF to them.
But when I use the codes to display char. some problems appear. For certain/ ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 10:12 pm Subject: LED dot matrix blinking... |
I'll give this some more thought in the morning and test it on some hardware.
Mark
Thanks a lot Mark for your invaluable assistance & for your time. Really appreciate it very much. |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 8:58 pm Subject: LED dot matrix blinking... |
The time between the negative/falling slope (pulse going low) of the 60us pulse and the following rising slope of 7us pulse is
The 60us pulse(column 78) is immediately followed by the 7us pulse(co ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 8:25 pm Subject: LED dot matrix blinking... |
I've check that again. When measured before 2.2 ohm resistors to the
LED columns, overall it looks like below:
The one that works (0xFF):
Pulse time = nearly 60us
When no pulse (ie zero) = volt ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 8:14 pm Subject: LED dot matrix blinking... |
Observation from scope when measured before 2.2 ohm resistors to the
LED columns.
The one that works (0xFF):
Pulse time = 7us
When no pulse (ie zero) = Float 0.5V from ground ref.
Vpulse = 2V
... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 7:59 pm Subject: LED dot matrix blinking... |
So sorry for the confusion. I'd like to CONFIRM that I have connected the following way:
#define EXP_OUT_ENABLE PIN_C1 // RCLK ---> Pin 12
#define EXP_OUT_CLOCK PIN_C2 // SRCLK ---> ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 7:45 pm Subject: LED dot matrix blinking... |
Sorry for the confusion just now, my configurations for the '595 are:
#define EXP_OUT_ENABLE PIN_C1 // RCLK ---> Pin 12 of '595
#define EXP_OUT_CLOCK PIN_C2 // SRCLK ---> Pin 11
... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 7:32 pm Subject: LED dot matrix blinking... |
No, RCLK and SRCLK are not tied together. From the scope, the SRCLK(RC1) goes high first & then low and followed by RCLK(RC2) goes high & low.
I also would like to double confirm with you o ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 6:46 pm Subject: LED dot matrix blinking... |
Yes, the columns are fine. From column #1 -- column #80, the blanked output are not fixed to columns but follow the chars instead. For example, the msg that I'm trying to display,
the 2nd column of t ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 12:09 am Subject: LED dot matrix blinking... |
Yes, I managed to get it to work..Thanks a lot. I mistakenly assigned EXP_OUT_ENABLE as SRCLK of '595 and EXP_OUT_CLOCK as RCLK of '595. However, I notice that certain columns are not able to light up ... |
Topic: LED dot matrix blinking... |
ernest
Replies: 50
Views: 56851
|
Forum: General CCS C Discussion Posted: Mon Dec 06, 2004 10:05 pm Subject: LED dot matrix blinking... |
Not sure if the following way of coding is correct but I couldn't get the LED to display. It remains blank..
Anyway pardon me for asking but I would appreciate it very much if you could briefly exp ... |
|