Quantcast
Channel: MicroEmbebidos la Web (PIC,MSP430,LPC,RTOS)
Viewing all articles
Browse latest Browse all 66

Tutorial C18 – Reloj DS1307

$
0
0
Ante Uds. querido publico…. la libreria ds1307.h hecha en lenguaje C para el compilador C18, provecho! #define dispositivo 0xD0 //******************************************************** //******************************************************** // // Leer Byte en DS1307 // //******************************************************** //******************************************************** unsigned int LeeDato_ds1307( unsigned char address ) { IdleI2C(); // ensure module is idle StartI2C(); // initiate START condition while ( SSPCON2bits.SEN ); // wait

Viewing all articles
Browse latest Browse all 66

Trending Articles