RTC Archives - electroSome https://electrosome.com/topic-tag/rtc/ You Inspire.....We Create..... Thu, 19 Nov 2015 04:50:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 INTERFACING OF DS1307 WITH PIC16F877A WITHOUT USING LIBRARY FUNCTIONS https://electrosome.com/topic/interfacing-of-ds1307-with-pic16f877a-without-using-library-functions/ Wed, 18 Nov 2015 06:05:21 +0000 https://electrosome.com/topic/interfacing-of-ds1307-with-pic16f877a-without-using-library-functions/ */use pull up resistors of 330k ,crystal freq:32.768/* Program: #include "uartfun.h" //created myown header file for uart functions void i2c_intialise(int); void i2c_start(); void i2c_stop(); void i2c_restart(); void i2c_ack(); void i2c_nack(); void WaitSSP(); void i2c_send(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int); unsigned int i2c_readx(int); void wait(); void main() { unsigned char time[20]="Time:00:00:00"; unsigned char dayx[20]="Day:__"; […]

The post INTERFACING OF DS1307 WITH PIC16F877A WITHOUT USING LIBRARY FUNCTIONS appeared first on electroSome.

]]>