Example – Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 145

Advertising
background image

4-104 Programmer’s Manual

Example

#include "mmsultra.h"

void main(void)

{

vidSetPage(0);

// Set the page

vidScroll(0, 0, 7, 19, 0, 0x07);

// Clear the screen

vidPutCursor(0, 0, 0);

// Move the cursor

vidPutStr("REVERSE", 0x70, 0);

// Print in reverse video

vidPutCursor(1, 0, 0);

// Move the cursor

vidPutStr("NORMAL", 0x07, 0);

// Print in Normal video

}

Advertising