16
DEMO9S08QE8 User Manual
All data to be displayed must be in hexadecimal format. The data can be
accepted and displayed either as incoming byte values ($00-$FF) or word
values ($0000-$FFFF). The data format indicates whether the data is byte or
word data. The graphical components automatically size their range
depending upon the incoming data.
5.5.1
Visual Components
The Bar Graph has four separate bars A, B, C, and D. On each bar a
percentage value is displayed which indicates the current value relative to the
full range. A byte value of $7F (max is $FF) would show up as approximately
50% as would a word value of $7FFF (max is $FFFF). As can be seen in the
data formatting section, all four bars must be written at the same time. The
bars are shown here:
Figure 5-5: Serial Grapher Bar Graph
The graphing component shows four waveforms X, Y, Z, and W. The
magnitude axis either has a range of $00-$FF (if byte values are incoming on
the serial port) or $0000-$FFFF (if word values are incoming). Each new set
of values which comes through the serial port is added to the far right side of
the graph and the rest of the data values move to the left. The vertical axis
displays the incoming data as the magnitude of each waveform, and the
horizontal axis displays the number of samples. The graph has a limited size,