/*****************************************************************************
 *
 * Strings for the menu.
 *
 *****************************************************************************
 * FileName:        Strings.c
 * Dependencies:    
 * Processor:       PIC18F with CAN
 * Compiler:       	C18 02.10.02 or higher
 * Linker:          MPLINK 03.20.01 or higher
 * Company:         Microchip Technology Incorporated
 *
 * Software License Agreement
 *
 * The software supplied herewith by Microchip Technology Incorporated
 * (the "Company") is intended and supplied to you, the Company's
 * customer, for use solely and exclusively with products manufactured
 * by the Company. 
 *
 * The software is owned by the Company and/or its supplier, and is 
 * protected under applicable copyright laws. All rights are reserved. 
 * Any use in violation of the foregoing restrictions may subject the 
 * user to criminal sanctions under applicable laws, as well as to 
 * civil liability for the breach of the terms and conditions of this 
 * license.
 *
 * THIS SOFTWARE IS PROVIDED IN AN "AS IS" CONDITION. NO WARRANTIES, 
 * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED 
 * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
 * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, 
 * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR 
 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
 *
 *
 * This is a simple timer function used within the DeviceNet Stack for
 * demonstration.
 * 
 *
 *
 * Author               Date        Comment
 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * Ross Fosler			08/13/04	...	
 * Gaurang Kavaiya		12/6/04		Modified for RTC strings
 * 
 *****************************************************************************/


#include	"TYPES.H"


RUCHAR MsgHome[] = {3, 0x1B, 0x5B, 'f'};
RUCHAR MsgClear[] = {3, 0x1B, 0x5B, 'J'};
RUCHAR MsgReturn[] = {2, 13, 10};


RUCHAR MsgHeader[] = {87};
RUCHAR __MsgHeader1[] = "PICDEM HPC Explorer\n\r";
RUCHAR __MsgHeader2[] = "Microchip Technology Inc.\n\r";
RUCHAR __MsgHeader3[] = "Demo firmware v1.01\n\r";
RUCHAR __MsgHeader4[] = "April 14, 2005\n\r";

RUCHAR MsgAuthor[] = {11};
RUCHAR __MsgAuthor[] = "Ross Fosler\n\r";

RUCHAR MsgTemp[] = {105};
RUCHAR __MsgTempPos[] = {0x1B, 0x5B, '6', ';', '1', 'f'};  
RUCHAR __MsgTempC[] = "Temperature (Celsius):\n\r";		
RUCHAR __MsgTempF[] = "Temperature (Fahrenheit):\n\r";
RUCHAR __MsgTempK[] = "Temperature (Kelvin):\n\r";
RUCHAR __MsgTempR[] = "Temperature (Rankine):";
RUCHAR MsgTempCPos[] = {7};
RUCHAR __MsgTempCPos[] = {0x1B, 0x5B, '6', ';', '2', '7','f'};
RUCHAR MsgTempFPos[] = {7};
RUCHAR __MsgTempFPos[] = {0x1B, 0x5B, '7', ';', '2', '7', 'f'};
RUCHAR MsgTempKPos[] = {7};
RUCHAR __MsgTempKPos[] = {0x1B, 0x5B, '8', ';', '2', '7', 'f'};
RUCHAR MsgTempRPos[] = {7};
RUCHAR __MsgTempRPos[] = {0x1B, 0x5B, '9', ';', '2', '7', 'f'};
	
/*RUCHAR MsgTempRPos[] = {8};	
RUCHAR __MsgTempRPos[] = {0x1B, 0x5B, '9', ';', ';', '2', '7', 'f'};*/

RUCHAR MsgPot[] = {33};
RUCHAR __MsgPotPos[] = {0x1B, 0x5B, '1', '1', ';', '1', 'f'};
RUCHAR __MsgPotVolt[] = "POT Voltage: \n\r";
RUCHAR __MsgPotVal[] = "POT Value:";
RUCHAR MsgPotVoltPos[] = {8};
RUCHAR __MsgPotVoltPos[] = {0x1B, 0x5B, '1', '1', ';', '1', '4','f'};
RUCHAR MsgPotValPos[] = {8};
RUCHAR __MsgPotValPos[] = {0x1B, 0x5B, '1', '2', ';', '1', '4', 'f'};


RUCHAR MsgLeds[] = {89};
RUCHAR __MsgLedPos[] = {0x1B, 0x5B, '1', '4', ';', '1', 'f'};
RUCHAR __MsgLedInst[] = {"Press key '1' though '8'\n\r"};
RUCHAR __MsgLedHead[] = "LEDs:   D1   D2   D3   D4   D5   D6   D7   D8\n\r";
RUCHAR __MsgLedStatus[] = "Status: ";
RUCHAR MsgLedStatusPos[] = {7};
RUCHAR __MsgLedStatusPos[] = {0x1B, 0x5B, '1', '6', ';', '9', 'f'};
RUCHAR MsgLedStatusOn[] = {5};
RUCHAR __MsgLedStatusOn[] = "On   ";
RUCHAR MsgLedStatusOff[] = {5};
RUCHAR __MsgLedStatusOff[] = "Off  ";

RUCHAR MsgButton[] = {19};
RUCHAR __MsgButtonPos[] = {0x1B, 0x5B, '1', '8', ';', '1', 'f'};
RUCHAR __MsgButtonStatus[] = "Button RB0: ";
RUCHAR MsgButtonStatusPos[] = {8};
RUCHAR __MsgButtonStatusPos[] = {0x1B, 0x5B, '1', '8', ';', '1', '3', 'f'};
RUCHAR MsgButtonStatusOn[] = {11};
RUCHAR __MsgButtonStatusOn[] = "Pressed    ";
RUCHAR MsgButtonStatusOff[] = {11};
RUCHAR __MsgButtonStatusOff[] = "Not pressed";

RUCHAR MsgBoot[] = {36};
RUCHAR __MsgBootPos[] = {0x1B, 0x5B, '2', '2', ';', '1', 'f'};
RUCHAR __MsgBoot[] = "Press 'b' to enter boot mode.";


RUCHAR MsgTime[] = {18};
RUCHAR __MsgTimePos[] = {0x1B, 0x5B, '2', '0', ';', '1', 'f'};
RUCHAR __MsgTimeStatus[] = "Time: ";
RUCHAR __MsgTimeStatusPos[] = {7};
RUCHAR MsgTimeValPos[] = {8};
RUCHAR __MsgTimeValPos[] = {0x1B, 0x5B, '2', '0', ';', '1','1','f'};




RUCHAR MsgBootWarn[] = {63};
RUCHAR __MsgBootWarnPos[] = {0x1B, 0x5B, '7', ';', '1', 'f'};  
RUCHAR __MsgBootWarn1[] = "Entering boot mode will force the demo firmware to stop\n\r";
RUCHAR MsgBootWarn2[] = {83};
RUCHAR __MsgBootWarn2[] = "functioning. Any programming operation there after may\n\r";
RUCHAR __MsgBootWarn3[] = "destroy the demo code.\n\r\n\r";
RUCHAR MsgBootWarn3[] = {31};
RUCHAR __MsgBootWarn5[] = "Do you want to enter boot mode?";
