janiga
Joined: 10 Apr 2006 Posts: 22
|
Rs232 & hyperterminal |
Posted: Mon May 01, 2006 5:01 pm |
|
|
Hello
How can i see the printf"hello" on my pc. I have connected an interface but i am not sure what the settings ought to be in hyperterminal. I can see the data on pin c6 with my scope but nothing shows on my pc. can anyone shed some light on this interface.
Code: |
#include <16F917.h>
#fuses INTRC_IO, NOWDT, NOPROTECT
#use delay (clock = 8000000)
#use rs232(baud=9600, xmit=PIN_C6,rcv=PIN_C7)
void main()
{
setup_oscillator(OSC_8MHZ);
while(1)
{
output_high(PIN_A0);
delay_ms(1000);
output_low(PIN_A0);
delay_ms(1000);
printf("Hello");
}
}
|
|
|