Discussion forum for the BasicX family of microcontroller chips.
|
I'm Trying to Read and Write to a NJU6355 Clock Ic. It Writes LSB first of each digit and each digit is a nibble of the Byte, or binnary coded decimal. It also reads LSB first of each digit BCD format. I am using a terminal program to input the time and read it back example years 98 Write to clock 8 1000 then 9 1001 Read clock 8 1000 then 9 1001 How can I do this using ShiftIn and ShiftOut for BX-24 or how do I do the bit manipulation to get it to work. Need Help I have tried every combination I can think of. THIA Marv |