mathssciencerobotic
Newbie level 1
Sorry for the language mistake>
in the past during the coading in keil for 8051 it is very simple as,
is there any way like this for PIC16F877A in mplab ide?
please help me..
Im using MPLAB ide with universal toolsuit.
language of programing: C language
uC: PIC16f877A
Code:
#include<htc.h>
unsigned char temp; //I want to access the each of bit of this 'temp' variable
//HOW CAN I ASSIGN ALL THE BITS OF 'TEMP' SAPERATELY
TO SOME BIT TYPE VARIABLE?
in the past during the coading in keil for 8051 it is very simple as,
Code:
unsigned char top;
sbit a1 top^0;
sbit a2 top^1;
sbit a3 top^2;
sbit a4 top^3;
sbit a5 top^4;
sbit a6 top^5;
sbit a7 top^6;
sbit a8 top^7;
is there any way like this for PIC16F877A in mplab ide?
please help me..
Im using MPLAB ide with universal toolsuit.
language of programing: C language
uC: PIC16f877A
Last edited by a moderator: