Image rotation Sample. This program uses GraphicsFramework library and L3GD20 sensor.
Dependencies: GR-PEACH_video GraphicsFramework L3GD20 R_BSP mbed-rtos mbed
Fork of RGA_HelloWorld by
About L3GD20
L3GD20 is a 3-axis gyroscope sensor and can be controlled by using theI2C.
- Datasheet of L3GD20
http://www.st.com/content/ccc/resource/technical/document/datasheet/43/37/e3/06/b0/bf/48/bd/DM00036465.pdf/files/DM00036465.pdf/jcr:content/translations/en.DM00036465.pdf
About wiring
Sensor | GR-PEACH |
VDD | 3.3V |
SCL | D15 |
SDA | D14 |
SA0 | 3.3V |
CS | 3.3V |
GND | GND |
Diff: Images/BinaryImage_RZ_A1H.h
- Revision:
- 4:138b18a6ac7b
- Parent:
- 2:c7faef0ef374
--- a/Images/BinaryImage_RZ_A1H.h Thu Jan 21 10:21:28 2016 +0000 +++ b/Images/BinaryImage_RZ_A1H.h Mon May 23 10:03:17 2016 +0000 @@ -5,26 +5,9 @@ extern "C" { /* Start of C Symbol */ #endif -extern const uint8_t RGA_Sample_BinaryImage[ 0x0006053FuL ]; +extern const uint8_t RGA_Sample_BinaryImage[ 0x00003902uL ]; -#define JPEG_jpg_ARGB8888 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 )) -#define JPEG_jpg_RGB565 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0000A520 )) -#define JPEG_jpg_ARGB1555 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0000FD40 )) -#define JPEG_jpg_ARGB4444 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00015560 )) -#define JPEG_jpg_YUV422 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0001AD80 )) -#define Flower_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0001FEC0 )) -#define Landscape_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00026008 )) -#define Landscape_wide_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0002AD28 )) -#define TopScrn_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00030DB0 )) -#define RetBtn_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00040A78 )) -#define decs_swipe_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00042440 )) -#define decs_swipe_side_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x000441A0 )) -#define animetion_timing_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00046D38 )) -#define Crystal_png_ARGB8888 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0004ABC0 )) -#define Crystal_png_ARGB1555 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00053760 )) -#define Crystal_png_ARGB4444 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00057D40 )) -#define Crystal_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0005C320 )) -#define CrystalDither_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0005ED1C )) +#define Flower_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 )) #ifdef __cplusplus } /* End of C Symbol */