/*** 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(); }
// Function checks if the pixel behind int CheckLeft( uint32_t* leftPos) { return OledGetPixel( (*leftPos) - 1 ); // Check the position behind the player's current position }