|
PIC24 Support Libraries
|
Go to the source code of this file.
Functions | |
| ESOS_USER_TASK (heartbeat_LED) | |
| ESOS_USER_TASK (echo1) | |
| void | user_init (void) |
ESOS application program to recreate the "Echo" program echo.c in Chapter 8. (See Figure 8.6 in the text.) "Echo" program which waits for UART1 RX character and echos it back +1. Use this program to test your UART connection under ESOS
Application also has a flashing LED on RB15. Flashing LED is generated by an user task that runs simultaneously with the echo task above.
Definition in file app_echo1.c.
| ESOS_USER_TASK | ( | heartbeat_LED | ) |
An ESOS task to mimic the heartbeat LED found in the PIC24 support library code used in Chapters 8-13.
Toggle LED1, wait 250ms, repeat forever.
Definition at line 116 of file app_echo1.c.
| ESOS_USER_TASK | ( | echo1 | ) |
Read a single character from the "in" stream, increment that character by one, and echo it back out the "out" stream
Definition at line 135 of file app_echo1.c.
| void user_init | ( | void | ) |
User-provided function to initialize user's hardware configuration register user tasks.
Definition at line 155 of file app_echo1.c.
1.8.4