Step 17: Output Characters On The Seven-Segment Display - HP MC68040 User Manual

Emulator, graphical user interface
Table of Contents

Advertisement

Chapter 1: Getting Started

Step 17: Output characters on the seven-segment display

Step 17: Output characters on the seven-segment
display
1 Choose Settings→Command Line to turn on the command line, if you are using
the graphical user interface.
2 Using the command line, store the value of a hexadecimal string to be output on the
seven-segment display of the demo board. To see the digits
""0123456789AbCdEF" appear once, enter the following:
modify memory sysbuf string to "0123456789ABCDEF"
As soon as the operating system of the demo program detects that "sysbuf" has
been modified, it starts the user task to display each character in the string for 1/2
second. After the last character has been displayed, the user task returns to the
operating system and "sysbuf" can be modified again.
3 To display characters repetitively, add an "@" sign to the end of the string. For
example:
modify memory sysbuf string to "0123456789ABCDEF@"
4 To restart the program after an "@" sign is used, choose Execution→Run→from
Reset, or from the command line:
run from reset
34

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents