User manual

Copyright © Dr Robot Inc. 2005
59
III.3 Multimedia Control
III.3.1 LCD Display
111 void LcdDisplayPMS(LPCTSTR bmpFileName);
Description:
LcdDisplayPMS displays the image data in the file
bmpFileName
(BMP format) on the
graphic LCD connected to the Sensing and Motion Controller (PMS5005).
Syntax: LcdDisplayPMS (bmpFileName);
Parameter: LPCTSTR bmpFileName; // Full path of the BMP file for displaying
Return value: void
Remarks:
The graphic LCD display is mono with dimension of 128 pixels by 64 pixels. The bmp image
must be 128x64 pixels in mono.
III.4 Events
This section documents the four Event mechanisms. When the relevant data arrive from the WiRobot
PMS5005 system, relevant event will be fired, user could write his / her periodic data processing
routine in the relevant event call back function.
112 StandardSensorEvent
Description:
When the standard sensor data arrive, this event will be triggered.
113 CustomSensorEvent
Description:
When the custom expansion sensor (AD and Input) data arrive, this event will be triggered.
114 MotorSensorEvent
Description:
When the motor control related sensor data arrive, this event will be triggered. The motor
control data includes all the motor rotational sensor data such as potentiometer, encoder
and motor current data.