This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:exercises:communication [2010/03/05 21:10] – priitj | en:exercises:communication [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ===== For beginner ===== | ===== For beginner ===== | ||
| - | - For the commands (letter signs) which are coming through RS-232 interface from a computer are being waited. Command “R” lights green LED, “K” lights yellow LED and “P” red LED. “R” is switching all LED-s off. | + | - For the commands (letter signs) which are coming through RS-232 interface from a computer are being waited. Command “R” lights green LED, “K” lights yellow LED and “P” red LED. “R” is switching all LEDs off. |
| - If a button is pressed, the name of the corresponding button (S1, S2, S3) is received in the computer through the RS-232 interface. | - If a button is pressed, the name of the corresponding button (S1, S2, S3) is received in the computer through the RS-232 interface. | ||
| ===== For advanced ===== | ===== For advanced ===== | ||
| - | - The communication between two RS-232 controllers. If a button is pressed, the controller transmits the controller the number of the button. When the number is received the status of a corresponding LED is changed. ' | + | - The communication between two RS-232 controllers. If a button is pressed, the controller transmits |
| - Make a “teletype” – device, which allows changing text messages between two controllers through RS-232 interface. Use LCD for displaying the messages. On the first row must be seen inserted message and on the second the last received message. For inserting the message a potentiometer and/or buttons may be used. | - Make a “teletype” – device, which allows changing text messages between two controllers through RS-232 interface. Use LCD for displaying the messages. On the first row must be seen inserted message and on the second the last received message. For inserting the message a potentiometer and/or buttons may be used. | ||