Paxar Gold 6037EX User Manual Page 149

  • Download
  • Add to my manuals
  • Print
  • Page
    / 230
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 148
Function Reference 4-113
void main(void)
{
vidSetPage(0); // Clear page 0
vidScroll(0, 0, 3, 11, 0, 0x07);
vidSetPage(1); // Clear page 1
vidScroll(0, 0, 3, 11, 0, 0x07);
vidPutCursor(0, 0, 0); // Write to page 0
vidPutStr("This is page 0", 0x70, 0);
vidPutCursor(0, 0, 1); // Write to page 1
vidPutStr("This is page 1", 0x70, 1);
// Prompt user
printf("\nPress any key to\nswitch to page 0");
_getch();
vidSetPage(0); // Switch pages
printf("\nPress any key to end"); // Prompt user
_getch();
vidScroll(0, 0, 3, 11, 0, 0x07); // Clear page 0
vidSetPage(1); // Clear page 1
vidScroll(0, 0, 3, 11, 0, 0x07);
vidSetPage(0); // Set to page 0
}
Page view 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 229 230

Comments to this Manuals

No comments