106 Pamux User’s Guide
UTILITY SUBROUTINES USED IN EXAMPLES
The examples in this chapter make use of the following subroutines:
• MyKillTime: Pauses for a short interval.
• GetAccess: Gains access to a B6 analog brain board.
• Release Access: Releases access to the B6 brain board.
• CombineUpperAndLowerBytes: Takes two bytes and combines them into a 16-bit integer.
• GetUpperAndLowerBytes: Takes a 16-bit integer and breaks it into two bytes.
The code for the GetAccess and ReleaseAccess subroutines can be found on page 109. The code for the
remaining subroutines is presented at the end of the chapter.
PROGRAMING WITHOUT THE PAMUX DRIVER