IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcReadSensorData ( short *  temperature1,
short *  temperature2,
unsigned short *  ambient,
unsigned short *  proximity 
)

This function can be used to read some internal sensor data of the GC04.

Parameters:
temperature1 Pointer to a 16 bit variable. The temperature of the first internal sensor be stored here. The value 2550 means 25.5 degree Celsius.
temperature2 Pointer to a 16 bit variable. The temperature of the second internal sensor be stored here. The value 2550 means 25.5 degree Celsius.
ambient Pointer to a 16 bit variable. The data of the ambient light sensor will be stored here.
proximity Pointer to a 16 bit variable. The data of the proximity sensor will be stored here.
Returns:
One of the following error codes is returned:
Since:
2.11
Targets:

GC01

GC04

-

X






Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1