imranahmed
Advanced Member level 3
- Joined
- Dec 4, 2011
- Messages
- 817
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- Karachi,Pakistan
- Activity points
- 6,493
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
unsigned int temp_res;
void main() {
ADCON0=0x83;
ANSEL = 0x01;
TRISIO = 0x09;
CMCON0=0x00;
do {
temp_res = ADC_Read(0);
GPIO.GP1 = temp_res;
} while(1);
}
GPIO.GP1 = temp_res;
unsigned int temp_res;
void main() {
ADCON0=0x83;
ANSEL = 0x01;
TRISIO = 0x09;
CMCON0=0x00;
do {
temp_res = ADC_Read(0);
GPIO.GP1 = temp_res;
} while(1);
}
unsigned int temp_res;
unsigned char tres;
void main() {
ANSEL = 0x01;
TRISIO = 0x09;
CMCON0=0x00;
do {
temp_res = ADC_Read(0) >> 6;
tres = temp_res;
GP5_bit = tres >> 3;
GP4_bit = (tres & 0x04) >> 2;
GP2_bit = (tres & 0x02) >> 1;
GP1_bit = tres & 0x01;
delay_ms(100);
} while(1);
}
ooh yes its ok.Do you have know any IC for converting serial data into 7-segment display.
I know one IC but its available in market
IC number is MAX7219.
Its ok.PIC16F877A is a common PIC.I am newer in PIC and learning please do have any LCD code by using SPI.
I want that the any received data by serially is display on LCD.What can i do?