****************************************************************************** ******************* Processor Expert Demonstration Project ******************* ****************************************************************************** File: WaterLevel.mcp Short description : Water Level alarm (demonstration) Target platforms: HCS08. Function Description ==================== This project is a very simple water level alarm. The example shows how to create an application including more Components using Processor Expert and C language. The goal of application is to monitor the water level and send state via communication line to the terminal. The period of the sending is 10 seconds. The value of water height is sent as a message to the PC terminal including date and time of measurement. The monitoring process is started or ended by pressing the button. The first LED indicates the process is on; the second one indicates critical level. When the second button is pressed, the value of water height is send to the PC terminal immediately. In the case the level of water is higher then critical value the warning message is sent. Required Hardware and Settings ============================== M68DEMO908GB60 demo board. Potentiometer connected to demo board. Building The Project ==================== Build the project usual way in CodeWarrior. No special settings are required. Running The Project =================== Connect serial line to board (SCI1) and PC. Run Serial terminal (e.g. HyperTerm) on PC. Run the project. Use button SW1 to start/stop application. Measuring will be proceeded and messages will be sent with a period of 10s. Use button SW4 for immediate measuring. *** End Of File ***