• Can SFRs and Sbits be defined as volatile?
    sbit P07 = 0x87; void main() { while(P07); // End Program unless we get error printf("Error - line went low"); // Print Error being recieved for(;;) // End after Error } Problem is that it never...
  • Can SFRs and Sbits be defined as volatile?
    sbit P07 = 0x87; void main() { while(P07); // End Program unless we get error printf("Error - line went low"); // Print Error being recieved for(;;) // End after Error } Problem is that it never...
  • sfr P1 = 0x90; /* SFR for P1 */
    i was download the code from internet the program is start with these lines -------------------------------- sfr P1 = 0x90; /* SFR for P1 */ sbit P1_0 = P1^0; /* SFR for P1.0 */ sbit P1_1...
  • sfr P1 = 0x90; /* SFR for P1 */
    i was download the code from internet the program is start with these lines -------------------------------- sfr P1 = 0x90; /* SFR for P1 */ sbit P1_0 = P1^0; /* SFR for P1.0 */ sbit P1_1...
  • how to use volatile ,and why to use volatile ,and where we shoud use volatile !
    thank you ! my friends!