August 2008
Beginner to intermediate
304 pages
6h 2m
English
A program is to be designed to meet the specification given in Appendix A, which describes how to develop the hardware design for this application. The specification was as follows: When a button is pressed, the system generates an 8-bit binary count, starting at 0, on a bar graph display. The output frequency at the least significant bit is 50 Hz, giving an overall cycle time of 2.56 sec.
The general form of a real-time application is represented by the flowchart in Figure B.1, which shows two main phases: initialization and main loop. The initialization is executed once, and the main loop repeats.
The program must be written to the syntax requirements of standard ...