Introduction to PIC Interrupts and their Handling in C
Posted by Avinash on December 5th, 2010 10:51 AM | 12 CommentsInterfacing LM35 Temperature Sensor with PIC Microcontroller.
Posted by Avinash on July 25th, 2010 07:58 PM | 29 CommentsUsing Analog to Digital Converter (ADC) – PIC Microcontroller Tutorial
Posted by Avinash on July 21st, 2010 01:09 PM | 15 CommentsMaking “The LCD Expansion Board” for PIC18F4520
Posted by Avinash on May 24th, 2010 09:52 AM | No CommentIntroduction to PIC18′s Timers – PIC Microcontroller Tutorial
Posted by Avinash on May 13th, 2010 12:02 PM | 25 CommentsRS232 Communication using PIC18F4520′s USART – PIC Microcontroller Tutorial
Posted by Avinash on May 11th, 2010 09:44 AM | 35 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 ...

