Пример #1
0
//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
/***	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();
}