??? 07/06/07 16:18 Read: times |
#141557 - Jan's cprrect Responding to: ???'s previous message |
You are not "toggling" the clock pin
P0_2 = 1; // send D0 set clock bit clear clock bit P0_2 = 1; // send D1 set clock bit clear clock bit P0_2 = 0; // send D2 Send Digit 3 set clock bit clear clock bit P0_2 = 0; // send D3 set clock bit clear clock bit P0_2 = 0; // send D4 set clock bit clear clock bit So for each P2_0 bit you send out you need to toggle the clock i/O pin. If you a Oscilloscope to look at the Clock and Data pins of the HT9200 you would have seen what you are sending to the HT9200 is not as same in data sheet! Joe |
Topic | Author | Date |
HT 9200A somes times dials ...sometimes does not d | 01/01/70 00:00 | |
Please read... | 01/01/70 00:00 | |
this is suspicious | 01/01/70 00:00 | |
You didnt' look hard enough! | 01/01/70 00:00 | |
Consensus | 01/01/70 00:00 | |
aaaaaah soooo, it's SPI! | 01/01/70 00:00 | |
Jan's cprrect | 01/01/70 00:00 | |
Toggling the Clk pin does not works. | 01/01/70 00:00 | |
Not useful![]() | 01/01/70 00:00 |