Yes it is possible. PICAXE supports 16-bit variables (which go up to 65535 and are called word variables) but they are not implemented in Logicator. There are many ways of working around this.
A word variable is made up of two byte variables. Logicator will only let you manipulate byte variables without using a BASIC cell but there is a word variable (w
x) for every two consecutive byte variables (b
x) so you can manipulate the byte variables instead. Examples:
w0 = b1 : b0 (varB : varA)
w1 = b3 : b2 (varD : varC)
w2 = b5 : b4 (varF : varE)
...and so on...
The byte variable on the left is the most significant byte and the byte variable on the right is the least significant byte. The variable names in brackets correspond to the Logicator variables. Therefore if you use an inc command on variable A, the word variable will increase by 1 but if you use an inc command on variable B, the word variable will increase by 256.
You can then display this variable by entering the following code into a BASIC cell:
Code:
bintoascii w0,b8,b9,b10,b11,b12
serout [I]pin[/I],N2400,(254,[I]n[/I],b8,b9,b10,b11,b12)
pin is the pin the serial LCD is connected to.
n is the location on the display where the leftmost digit of the number will be displayed. The first square on the top row is 128 and the first square on the bottom row is 192.