NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Support Forum » Question about reading the output from the serial port
May 20, 2010 by CyberGod |
Hi, I am trying to read the output on the serial port on windows using putty as my client but all I see is garbage. What settings do I need to put, I have the correct COM port and all else is by default. This is how I write to the serial port: uart_init(); FILE uart_stream = FDEV_SETUP_STREAM(uart_putchar, uart_getchar, _FDEV_SETUP_RW); stdin = stdout = &uart_stream; printf_P(PSTR("%.2f Volumern"), somevariablehere); Thanks! |
---|---|
May 20, 2010 by hevans (NerdKits Staff) |
Hi Cybergod, The default baudrate on Putty is not right, you have to set it to 115200. There is a screenshot of the proper Putty configuration on our Servo Squirter tutorial. Humberto |
Please log in to post a reply.
Did you know that a NerdKit can take control of a remote-controlled car? Learn more...
|