DS1307 I2C RTCC Interface using SoftI2C lib
Posted by Avinash on November 30th, 2011 06:34 PM | 4 Comments24CXX I2C EEPROM Interface using SoftI2C lib
Posted by Avinash on November 26th, 2011 07:43 PM | 2 CommentsUsing Shift Registers with AVR Micro – AVR Tutorial
Posted by Avinash on May 27th, 2011 09:57 AM | 6 CommentsMultiplexed Seven Segment Display using PIC16F877A and HI-TECH C
Posted by Avinash on April 28th, 2010 08:01 AM | 2 Comments
#include <htc.h>
#define _XTAL_FREQ 20000000UL
typedef unsigned char UINT8;
typedef signed char INT8;
typedef unsigned int UINT16;
typedef signed int INT16;
//Connection of Seven segment display
#define SEVEN_SEGMENT_LAT PORTD
#define SEVEN_SEGMENT_TRIS TRISD
//MUX Control
#define MUX_PORT PORTB
#define MUX_START_POS 1 //From which bit on port the select lines start
//MUX settings
#define MUX_DISP_COUNT ...


