コード例 #1
0
ファイル: Maze.c プロジェクト: EffOhEnTeEe/Lab-04-Maze
//Print the player character to the OLED without updating the display
void PrintPlayer( uint32_t xco, uint32_t yco ) {
    OledMoveTo( xco, yco );
    OledDrawPixel();
    OledMoveTo( xco+1, yco );
    OledDrawPixel();
    OledMoveTo( xco, yco+1 );
    OledDrawPixel();
    OledMoveTo( xco+1, yco+1 );
    OledDrawPixel();
}
コード例 #2
0
ファイル: IOShieldOled.cpp プロジェクト: cantrade/Tentec506-1
/***	void IOShieldOledClass::drawPixel(void)
**
**	Parameters:
**		none
**
**	Return Value:
**		none
**
**	Errors:
**		none
**
**	Description:
**		Set the pixel at the current drawing location to the
**		specified value.
*/
void IOShieldOledClass::drawPixel(void)
{
	OledDrawPixel();
}