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

input through serial port

I need some help regarding how to give input through serial port.
I can see the output of serial port in UART #1.

char rxcharacter(void)
{ char character;

SBUF = _getkey ();
//SBUF = 'G';

while(RI != 1);

character = SBUF;
RI = 0;

return character;
}

Parents
  • yeah.
    i am using very old chip.
    i just wanted to start from scratch.

    cut the 'yeah'
    it will cost you more to program that old chip than 10 new ISP chips will cost you
    If you were to start driving "from scratch" would you drive a 1920 car first?

    like, what could be the next chip i could learn and understand easily and then what could be the next.
    cut the 'like'
    I would suggest you buy a SILabs devboard, it comes with everything. The silabs chips have one HUGE advantage for beginners, the JTAG

    Erik

Reply
  • yeah.
    i am using very old chip.
    i just wanted to start from scratch.

    cut the 'yeah'
    it will cost you more to program that old chip than 10 new ISP chips will cost you
    If you were to start driving "from scratch" would you drive a 1920 car first?

    like, what could be the next chip i could learn and understand easily and then what could be the next.
    cut the 'like'
    I would suggest you buy a SILabs devboard, it comes with everything. The silabs chips have one HUGE advantage for beginners, the JTAG

    Erik

Children