mirror of
https://github.com/geekammo/MicroView-Arduino-Library.git
synced 2026-03-02 16:24:07 +01:00
Add uView.screenBuffer() for access to screen RAM.
Returns a pointer to the start of the RAM screen buffer for direct write and read access.
This commit is contained in:
@@ -1327,6 +1327,14 @@ int MicroView::readSerial(void)
|
||||
return i;
|
||||
}
|
||||
|
||||
/** \brief Get pointer to screen buffer
|
||||
|
||||
Return a pointer to the start of the RAM screen buffer for direct access.
|
||||
*/
|
||||
uint8_t *MicroView::screenBuffer(void) {
|
||||
return screenmemory;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------------------
|
||||
// MicroViewWidget Class - start
|
||||
// -------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user