Hexiwear OLED
Fork of Hexi_OLED_SSD1351 by
Revision 9:18d4eb6328eb, committed 2017-04-12
- Comitter:
- tdh50
- Date:
- Wed Apr 12 21:01:40 2017 +0000
- Parent:
- 8:ae5fad429790
- Commit message:
- Added GetPower() Function
Changed in this revision
Hexi_OLED_SSD1351.cpp | Show annotated file Show diff for this revision Revisions of this file |
Hexi_OLED_SSD1351.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Hexi_OLED_SSD1351.cpp Sat Sep 24 19:45:48 2016 +0000 +++ b/Hexi_OLED_SSD1351.cpp Wed Apr 12 21:01:40 2017 +0000 @@ -900,7 +900,10 @@ power = 0; } - +bool SSD1351::GetPower() +{ + return power; +} /* Formerly Known as GuiDriver_UpdateScreen */ void SSD1351::UpdateBuffer (
--- a/Hexi_OLED_SSD1351.h Sat Sep 24 19:45:48 2016 +0000 +++ b/Hexi_OLED_SSD1351.h Wed Apr 12 21:01:40 2017 +0000 @@ -295,6 +295,10 @@ * Turn off Power for OLED Display */ void PowerOFF(); + /** + * Gets value of Power + */ + bool GetPower(); /** * update the main screen buffer