![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #16 |
|
unsigned short i; void main() { // Initialize USART module (8 bit, 19200 baud rate, no parity bit..) Usart_Init(19200); do { if (Usart_Data_Ready()) { // If data is received i = Usart_Read(); // Read the received data Usart_Write(i); // Send data via USART } } while (1); }//~! i used program above to test serial port with hyperterminal. it suppose to be like i press 'a' from the keyboard then usart_read will read 'a' and usart_write will send character 'a' back and show 'a' in hyperterminal but it doenst work when i try. what is the problem ? | |
| |
|
| Tags |
| problem, rs232 |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Firefly 16F88 RS232 problem | futz | Micro Controllers | 6 | 23rd February 2008 01:04 PM |
| AVR DDS ~ RS232 problem... | krazatchu | AVR | 15 | 13th December 2007 05:44 AM |
| rs232 problem | handsprince | General Electronics Chat | 8 | 23rd April 2006 01:04 PM |
| Problem When Hooking RS232 Through A Y-Adapter ? | iso9001 | General Electronics Chat | 2 | 16th March 2005 12:31 PM |
| PIC Basic Plus and RS232 problem again. Help!!! | Beefer3 | Micro Controllers | 1 | 15th November 2003 12:08 AM |