3wireroutines.h

This 3 Wire example application demonstrates the use of a DS1302 Real Time Clock (by Don Cramer).






#define clk_tris trisb

#define clk_port portb

#define clk_pin 3



#define rst_tris trisc

#define rst_port portc

#define rst_pin 5



#define data_tris trisb

#define data_port portb

#define data_pin 2



void init_3w();

void reset_3w();

void wbyte_3w(unsigned char W_Byte);

unsigned char rbyte_3w();






http://www.sourceboost.com/home.html

Copyright © 2002-2006 SourceBoost Technologies