View Full Version : Displaying a negative number on an LCD
10-25-2009, 12:50 PM
Which code do I use to get my LCD to display the minus sign when the number becomes a negative number. I'm using the memic 2125 accelerometer and BS2. Program attached for viewing.
10-25-2009, 01:07 PM
Instead of DEC use SDEC. See the chapter in the Stamp Manual on the SEROUT statement for more details. The Stamp Editor help files also have that info.
10-26-2009, 06:30 AM
Still missing something, can't seem to·get the LCD to display the negative symbol when the number goes negative. Further help would be greatly appreciated.