Problem with AXE033 LCD internal memory

eddydde

Member
The AXE033 has 7 storage locations numbered 1-7.
The date/time is stored in location 0

I am unable to store a message in locations 4 and 6 and 7.
I have stored messages in locations 0 (Date/Time), and 1,2,3,5.

Here is the code I am using that writes and then read backs the stored message:

Code:
main:	

	pause 1000
	serout 7, N2400, (254,1)	'clear display
	pause 30				'have tried up to pause 10000
	serout 7, N2400, (254,128)	'move cursor to line 1
	pause 1000
	serout 7, N2400,(253,4,"*TEST***MESSAGE*")
	pause 10000


	serout 7, N2400, (254,1)	'clear display
	pause 30				'have tried up to pause 10000
	serout 7, N2400, (254,128)	'move cursor to line 1
	pause 2000
	serout 7, N2400, (4)		'read message
	pause 10000
	end
Once programmed, I receive a ** DATA 4 SET ** message, however on the read-back portion of the above code, the test message is displayed on Line 2 of the LCD, not Line 1 - where it is written.

All suggestions appreciated.

Eddydde
 

westaust55

Moderator
From the AXE033 datasheet:
Messages 1,3,5,7 automatically appear on the top line of the display.
Messages 2,4,6 automatically appear on the second line of the display.
From this, it does not matter where you preset the cursor position, the messages will always start at the first character location of the line so mentioned.
So message 4 is always on the second line.
 

tarzan

Senior Member
Programming a Predefined Message into the Module
The module can contain 7 user predefined messages, each message 16 characters long. These messages are stored on the LCD module and can be used to greatly reduce the ‘display text’ that must be stored within the PICAXE or Stamp (hence reducing the length of the program).
Messages 1,3,5,7 automatically appear on the top line of the display.
Messages 2,4,6 automatically appear on the second line of the display.
 

eddydde

Member
Thank you!
I have read that data sheet that many times I cannot believe I missed those two critical lines.

Eddydde
 
Top