roiadel
Newbie level 2
- Joined
- Oct 18, 2010
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,293
hi everybody.
Sorry for my english.
I use a MicroC 8.2 and USART Library for Send Bytes from PIC Micro to PC.(in Windows with Hyperterminal).
so i use this Code:
this works when i press a key in Hyperterminal. i want A PIC send Characters one to one without press a key in hyperterminal.
Thanks for your help.
Sorry for my english.
I use a MicroC 8.2 and USART Library for Send Bytes from PIC Micro to PC.(in Windows with Hyperterminal).
so i use this Code:
Code:
void main()
{
char m=0;
Usart_Init(4800);
Delay_ms(100);
while(1)
{
Usart_Write(m);
m+=1;
if(m==127)
{
m==0;
}
}
}
this works when i press a key in Hyperterminal. i want A PIC send Characters one to one without press a key in hyperterminal.
Thanks for your help.