/*
 * range_demo_plus_rx.h
 * Header of the main application file
 
 * $Author: b06900 $
 * $Date: 2008/03/05 22:49:11 $
 * $Name:  $
 */
 
//Prototypes
void AppInit(void);

#define CHANNEL_NUMBER      0  
#define OUTPUT_POWER        11

/* Application state definitions */

#define INITIAL_STATE           1
#define RESET_STATE             2
#define CHANNEL_SET             3
#define WAITING_FOR_ACK         4
#define TX_STATE                5
#define RX_STATE                6
#define DELAY_STATE             7
#define GOOD_PACKET             8
#define BAD_PACKET              9
#define UART                    10
#define TEST                    11
#define ADJUST_SET              12
#define SEND_SET              13


#define DELAY_COUNT             0xB000
#define LED_DELAY               0x2000

/* Power Level defines */
#define SPEC_POWER              88        /*LEDS 2-4 OFF	  */
#define L1_POWER                80        /*LED 2 ON		*/
#define L2_POWER                60        /*LED 2,3 ON	  */
#define L3_POWER                40        /*LED 2,3,4 ON*/

