Hi all

I wonder if someone could please tell me what the TRIS settings should be to work with the DS1302.
I have been checking out code examples through the forums and have even tried a few. I am still not sure of what the TRIS settings should be for my PIC to interact with the DS1302.

So given the following for example :
Code:
RST     var     PORTA.2
IO      var     PORTC.1
SCLK    var     PORTC.3
Kind regards

Dennis