*
* Example programs for the Ep2711E9 board (c)2002, EVBplus.com
*		Written By Wayne Chu
*
*
* Ex1.asm  ---- Example program 1 for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: Reads the DIP switch via the port C and displays its status 
*		 on the port B LEDs PB0-PB7.
*
*
*
* Ex2.asm  ---- Example program 2 for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: Makes the port B as a binary counter.
*
*
*
* Ex3.asm ----  Example program 3 for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: Displays the word 'HELP' on the 7 segment LED display,
*		 the 7-segment is multiplexed at 5ms per digit fresh rate,
*		 50Hz fresh rate for 4 digits.
*
*
*
* Ex4.asm  ---- Example program 4 for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: Displays the word 'SCAn" on the 7 segment LED display,
*   		 scans the keypad and displays the key number on the
*		 7 segment LED display if a key is down.
*
*     Instruction: Connect a 4 x 4 keypad to the keypad header J6.
*
*
*
* Ex5.asm ----  Example program 5 for the Ep2711E9 board ((c)2002, EVBplus.com
*		
*     Function: User can adjust the trimmer pot VR1 to vary the voltage on 
*	 	 the PE7 of the ADC and to change brightness of the 7 segment 
*		 LED display
*
*
*
* Ex6.asm ----  Example program 6 for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: Plays a song via OC3 (PA5)
*
*
*
* 5s_delay.asm  5 second delay timer for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: 5 second delay routine using the output comparator OC2
*		 The PB0 LED will be turned on immediately after running
*		 the program. It will be turned off after 5 second delay. 
*		 Change the DELAY_TIME to 18000 will delay 3 minutes
*
*
*
* Lcd1.asm ---- 16X2 LCD sample program for the Ep2711E9 (c) 2002, EVBplus.com
*		
*     Function: This is the simplest way to display a message on the
*		 16X2 LCD display module. The cursor is off. 
*		 If more controls to the display are needed, see LCD2.asm
*
*
*
* Lcd2.asm ---- 16X2 LCD sample program for the Ep2711E9 (c) 2002, EVBplus.com
*		
*     Function: This program displays a message on a 16X2 LCD display module
*		 by calling sel_inst(instruction), sel_data and wrt_pulse
*		 subroutines. These subroutines allow the user program to 
*		 control a different size of LCD display.
*
*
*
*  IR_sen.asm - an IR proximity sensor for the Ep2711E9 board (c)2002, EVBplus.com
*		
*     Function: An application using the infrared (IR) light beam to detect 
*		 an object in its vicinity.
*		
*     Instruction: The PD1 will be reset to low to enable the IR transmitter.
*		   The IR light beam will be bounced back by an object, 
*		   so the IR receiver will receive the IR light via PD0 and 
*		   display the result on the LCD display module.
*		   
*		   Sometimes the table surface can reflect the IR light.
*		   For the best result, place the board near the edge of the
*		   table to reduce the reflection by the table surface.
*		   Two T1 red LEDs near the IR transceiver will indicate 
*		   its status.  After running the program, make sure that
*		   the TX LED is on and the RX LED is off without an object
*		   in the front of them.  If your body is too close to them,
*		   it also will reflect the IR light, so stay 1 foot away 
*		   from them. When the RX LED is off, then put your hand
*		   in the front of them and read the LCD display.
*
*		   The range is about 6-10 inches and can be increased by
*		   reducing the resister R11's value, but it should not be
*		   smaller than 100 Ohm. 
*
* end of README.txt