View Full Version : Displaying variables on 27977

08-18-2011, 10:56 PM
I just got the 27977 display from Parallax and I love it, but I have on question: How can I display the value of a variable on the 27977? I developed one functioning method, but it is very inefficient: Use the DIG command on a variable and then have a SELECT...CASE to determine what number to display and the use DIG command on next digit and continue until all digits are displayed..
This works, but it wastes lots of program space, is there an easier way with the BS2?

08-29-2011, 10:08 PM
You can use the "DEC modifier for displaying decimal numbers of variables. On pages 420 to 422 of the BASIC Stamp Syntax and Reference manual it will give you examples.