This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I want to do some Lame Multiprocessing.....

I am doing a project and in that project i am using one MAX232 but with multiple Microcontrollers i know that i cannot use RS-232 to multiple Microcontrollers but i am using MAX232 to convert the RS-232's 23V to TTL (5V) and so as the RS232 is converted to TTL so i think that it will work for multiple Microcontrollers (am i right?) well this is my stratigy ...

but my main task is that i want to send a HexaDecimal no through the Serial port so that the approriate Microcontroller will responce .... so i have coded some code but as i cant see the value came into SBUF in keil so could any one help me ?

Parents
  • this is the sample code i want to do inside the Recive interrupt but its not the exact one because there might be some variations

    int i=1;//global variable which is to be compared
    
    void xyz (void) interrupt 4
    {
    if (R1)
    {
    if (SBUF==i)
    {
    /*My code probabally the Printf statememt*/
    }
    }
    }
    

Reply
  • this is the sample code i want to do inside the Recive interrupt but its not the exact one because there might be some variations

    int i=1;//global variable which is to be compared
    
    void xyz (void) interrupt 4
    {
    if (R1)
    {
    if (SBUF==i)
    {
    /*My code probabally the Printf statememt*/
    }
    }
    }
    

Children