Merge pull request #13 from MLXXXp/user_screen_access

Add uView.screenBuffer() for access to screen RAM.
This commit is contained in:
jpliew
2014-08-20 20:46:43 +10:00
3 changed files with 10 additions and 0 deletions

View File

@@ -904,6 +904,14 @@ void MicroView::flipHorizontal(boolean flip) {
}
}
/** \brief Get pointer to screen buffer
Return a pointer to the start of the RAM screen buffer for direct access.
*/
uint8_t *MicroView::getScreenBuffer(void) {
return screenmemory;
}
/** \brief Parse command.
Command stored in serCmd array will be parsed to performed draw functions.