This is the David Smart RA8875 Library with mods for working with FRDM-K64F
Diff: RA8875.h
- Revision:
- 181:0032d1b8f5d4
- Parent:
- 178:ae472eb22740
- Child:
- 182:8832d03a2a29
--- a/RA8875.h Thu Aug 01 22:35:29 2019 +0000 +++ b/RA8875.h Fri Aug 02 02:12:26 2019 +0000 @@ -278,6 +278,9 @@ #define RA8875_DEFAULT_SPI_FREQ 5000000 #ifndef MBED_ENCODE_VERSION +#define MBED_MAJOR_VERSION 2 +#define MBED_MINOR_VERSION 0 +#define MBED_PATCH_VERSION MBED_LIBRARY_VERSION #define MBED_ENCODE_VERSION(major, minor, patch) ((major)*10000 + (minor)*100 + (patch)) #endif @@ -3340,6 +3343,9 @@ FPointerDummy *obj_callback; RetCode_t (FPointerDummy::*method_callback)(filecmd_t cmd, uint8_t * buffer, uint16_t size); RetCode_t (* idle_callback)(IdleReason_T reason, uint16_t param); + + orientation_t screen_orientation; + point_t TranslateOrientation(point_t rawPoint); };