

;------ASCII Text strings for LCD & Serial port------------
  ;		global	 adj_del_ms

;incTEST1.asm

#define text_asm      
;#include	 <p18F13K22.inc>
#include	 <p18F14K22.inc>
#INCLUDE "text.inc"                   
  
;tempdat	udata_ovr 0x30
;dc1    res 1      
;dc2    res 1                   
;dc3	   res 1

text_CODE code_pack                   
  
Greet:	db "Clock Timer.",0x0d, 0x0a,"Press SET to select options. ",0x0d, 0x0a, 0x00


;SerStats1:	db "#Impulse is " 0x00
SerStats2:	db	" Trigger Delay is " 0x00
SerStats3:	db	" Log is " 0x00
SerStats4:	db	" Time: " 0x00
SerStats5:	db	" Rate display units " 0x00

;ping: db "!"0x0d,0x0a,0x00

LCDGreet: db "Clock Timer." 0x00

CSVHeader: db "Rate, Rate Avg, Beat E, Temp." 0x0d, 0x0a, 0x00

LCDL1:		db "Rate  " 0x00
LCDL2:		db "Beat E" 0x00
LCDL3:		db "Rate A" 0x00
LCDL4:		db "Time" 0x00


TxtOn:	db "On " 0x00
TxtOff:	db	"Off" 0x00 


;Option header
SelMnu:		db	"Press SELECT for    " 0x00
SelMnuS:	db	0x0c,"Press S for next option.", 0x0d,0x0a, 0x00

;Option header detail strings
ModeMnu0:	db	"data log.           " 0x00
ModeMnu1:	db	"trigger delay.      " 0x00
ModeMnu2:	db	"set time.           " 0x00
ModeMnu3:	db	"strike counter.     " 0x00
ModeMnu4:	db	"Set LCD backlight.  " 0x00
ModeMnu5:	db	"Rate Counter.       " 0x00
ModeMnu6:	db	"Calib. temperature  " 0x00
ModeMnu7:	db	"Rate Dis SPB,BPM,BPH" 0x00
ModeMnu8:	db	"save settings.      " 0x00
ModeMnu9:	db	"Press SELECT to exit" 0x00
ModeMnu10:	db	"Bluetooth On/Off    " 0x00
ModeMnu11:	db	"Clock On/Off        " 0x00
ModeMnu12:	db	"Temperature On/Off  " 0x00


;Serial option menu strings
ModeMnu0S:	db	"Press L to select data log.", 0x0d,0x0a, 0x00
ModeMnu1S:	db	"Press L to set trigger delay.", 0x0d,0x0a, 0x00
ModeMnu2S:	db	"Press L to set time.", 0x0d,0x0a, 0x00
ModeMnu3S:	db	"Press L to select strike counter.", 0x0d,0x0a, 0x00
ModeMnu4S:	db	"Press L to set LCD backlight.", 0x0d,0x0a, 0x00
ModeMnu5S:	db	"Press L to select rate counter.", 0x0d,0x0a, 0x00
ModeMnu6S:	db	"Press L to calibrate temperature.", 0x0d,0x0a, 0x00

ModeMnu7S:	db	"Press L to select rate display SPB,BPM,BPH.", 0x0d,0x0a, 0x00
ModeMnu8S:	db	"Press L to save settings.", 0x0d,0x0a, 0x00
ModeMnu9S:	db	"Press L to exit.", 0x0d,0x0a, 0x00
ModeMnu10S:	db	"Press L to turn Bluetooth On/Off.", 0x0d,0x0a, 0x00
ModeMnu11S	db	"Press L to Turn clock display On/Off.",0x0d,0x0a, 0x00
ModeMnu12S	db	"Press L to Turn temperature display On/Off.",0x0d,0x0a, 0x00

;Strings for each option detail
ModeS0:	db	"Press + - to change." 0x00
ModeS1:	db	"Select when done.   " 0x00
ModeS0s:	db	"Press + - to change, L when done.", 0x0d,0x0a, 0x00

;Log enable
ModeLS0:	db	"Data log is xxx.    " 0x00

;Trigger delay
ModeTS0:	db	"Trigger delay is xxx" 0x00

;Strike counter
;LCD
ModeSL0:	db	"Strike count is xxx." 0x00
ModeSL1:	db	"Strike time 00:00:00" 0x00
ModeSL2:	db	" xxx strike(s).     " 0x00

;Serial
ModeSS0:	db	" Strike counter is " 0x00
ModeSS1:	db	" Strike(s)." 0x00
ModeSS2:	db	" Strike start time " 0x00

;Set time
ModeLT0:	db	"Press Select to     " 0x00
ModeLT1:	db	"Start clock and exit" 0x00
ModeST0:	db	"Press L to start clock and exit." , 0x0d,0x0a, 0x00

;LCD Backlight control
ModeLB0:	db	"LCD light is xxx.   " 0x00
ModeSB0:	db	"LCD backlight is " 0x00

;Rate counter
ModeRCL:	db	"Rate counter is  xxx" 0x00
ModeRCS:	db	"Rate counter is " 0x00
RCL0:		db	"Beats               " 0x00
RCL1:		db	"Hours               " 0x00 
RCL2:		db	"BPH                 " 0x00 

;Calibrate temperature
ModeCTL:	db	"Temp calibrate xxx.x" 0x00	
ModeCTS:	db	"Temp calibrate " 0x00	


;Rate display mode SPB,BPM,BPH
RDL0:		db	"Seconds per beat.   " 0x00
RDL1:		db	"Beats per minute.   " 0x00
RDL2:		db	"Beats per hour.     " 0x00

;Save settings to EEPROM
SaveSEL:	db	"Settings saved.     " 0x00

;Bluetooth control
ModeBTL:	db	"Bluetooth is xxx." 0x00
ModeBTS:	db	"Bluetooth is " 0x00

;Clock display control
ModeCDL:	db	"Clock is xxx.       " 0x00
ModeCDS:	db	"Clock display is " 0x00

;Temperature display control
ModeTDL:	db	"Temp display is xxx." 0x00
ModeTDS:	db	"Temperature display is " 0x00

		end