Example Echo Application
/* These are required for use with Motorola's rf modules
*/
//#define ECHO_ENABLEPA
PTED_PTED4
/* Define pin used for Power amp enable */
//#define ECHO_ENABLEPA_DDR PTEDD_PTEDD4
/* If hardwired, delete #defines
*/
//#define ECHO_ENABLELNA
//#define ECHO_ENABLELNA_DDR PTEDD_PTEDD5
PTED_PTED5
/* Define pin used for LNA
/* If hardwired,delete #defines
*/
*/
#endif
/****************************************************************************************/
Figure 14. Example Echo.h header file
13 Example Echo Application
This example uses the Echo.h configuration shown in Figure 14 and, as such, has been configured to run
on the DEMO9S08RG60 demonstration board.
The example toggles an LED when a message is sent or received and allows messages to be transmitted
by pressing a switch. The message consists of two data bytes, the first of which is incremented with each
message sent and the second remains constant at 1. The example is shown in Figure 15.
This example can be placed on multiple Echo devices without change. Pressing the switch on one device
will toggle the LED’s on all others.
Figure 15. Example Echo Application
Software Drivers for MC33696, Rev. 1
46
Freescale Semiconductor