Author |
Message |
Topic: 74595 Usage Problem |
debaruah
Replies: 8
Views: 14733
|
Forum: General CCS C Discussion Posted: Sat Aug 22, 2015 2:52 pm Subject: 74595 Usage Problem |
I think it unnecessary to prepare all the data for each time. Even if you want to change a single data, you need to prepare all data (copy all of them to new buffer)
Driver which is using mask proc ... |
Topic: 74595 Usage Problem |
debaruah
Replies: 8
Views: 14733
|
Forum: General CCS C Discussion Posted: Sat Aug 22, 2015 6:56 am Subject: 74595 Usage Problem |
i changed the *.c driver. it seem ok.
1. choice
void write_my_expanded_outputs(BYTE* eo) {
BYTE i,j;
output_low(EXP_OUT_CLOCK);
output_low(EXP_OUT_ENABLE) ... |
Topic: 74595 Usage Problem |
debaruah
Replies: 8
Views: 14733
|
Forum: General CCS C Discussion Posted: Fri Aug 21, 2015 2:41 pm Subject: 74595 Usage Problem |
Hi asmboy,
SR outputs for first "while()" cycle;
0,0, OK
85,85, OK
170,170, OK
255,255 OK
But second and subsequent "while()" cycles, code is running, but SR outputs did ... |
Topic: 74595 Usage Problem |
debaruah
Replies: 8
Views: 14733
|
Forum: General CCS C Discussion Posted: Fri Aug 21, 2015 7:50 am Subject: 74595 Usage Problem |
Hi,
I have a problem with 74595 driver usage.
For 2 74HC595 IC,
#IFNDEF EXP_OUT_ENABLE
#define EXP_OUT_ENABLE PIN_C1
#define EXP_OUT_CLOCK PIN_C0
#define EXP_OUT_DO PIN_C2
#define N ... |
|