
DEMO9S08QE8 User Manual
17
so older samples will eventually fall off the left part of the graph. As can be
seen in
Section 5.5.2 - Data Format
, each incoming data command affecting
the graphing component must have new data for all four waveforms. An
example graph is shown here:
Figure 5-6: Serial Grapher Graphing Component
5.5.2
Data Format
The data format is broken into two sections depending upon whether the
incoming data is in byte format or word format.
5.5.2.1
Byte Formatted Data
There are two commands which may be accepted. Both commands must end
in the special characters #$0D and #$0A which are CR (carriage return) and
LF (line feed). The accepted commands are:
WnnZnnYnnXnn
The nn values are 00-FF and correspond in order to the data displayed on the
following graph lines : W, Z, Y, X.
AnnBnnCnnDnn
The nn values are 00-FF and correspond in order to the data displayed on the