Touchscreen digit recognition.
Dependencies: mbed TFT_fonts SPI_TFT_ILI9341 Adafruit_GFX FT6206 MMA8451Q
Diff: orientation.hpp
- Revision:
- 2:1ab6ba7c2c90
diff -r c44001c6bbf8 -r 1ab6ba7c2c90 orientation.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/orientation.hpp Fri Jan 17 08:33:46 2020 +0000 @@ -0,0 +1,10 @@ +#pragma once + +#include "MMA8451Q.h" + +extern MMA8451Q acc; + +const int LANDSCAPE = 1; +const int PORTRAIT = 0; + +int get_orientation();