コード例 #1
0
ファイル: IOShieldOled.cpp プロジェクト: cantrade/Tentec506-1
/***	uint8_t IOShieldOledClass::getPixel(void)
**
**	Parameters:
**		none
**
**	Return Value:
**		returns pixel value at current drawing location
**
**	Errors:
**		none
**
**	Description:
**		Return the value of the pixel at the current drawing location
*/
uint8_t IOShieldOledClass::getPixel(void)
{
	return OledGetPixel();
}
コード例 #2
0
ファイル: Maze.c プロジェクト: EffOhEnTeEe/Lab-04-Maze
// Function checks if the pixel behind 
int CheckLeft( uint32_t* leftPos) {
    return OledGetPixel( (*leftPos) - 1 );     // Check the position behind the player's current position
}