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:
- 0:84e4649e7707
- Child:
- 2:c7faef0ef374
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Images/BinaryImage_RZ_A1H.h Wed Jan 20 02:35:42 2016 +0000 @@ -0,0 +1,30 @@ +#ifndef BINARYIMAGE_RZ_A1H_H +#define BINARYIMAGE_RZ_A1H_H + +#ifdef __cplusplus +extern "C" { /* Start of C Symbol */ +#endif + +extern const uint8_t RGA_Sample_BinaryImage[ 0x00057DBFuL ]; + +#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 Crystal_png_ARGB8888 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00042440 )) +#define Crystal_png_ARGB1555 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0004AFE0 )) +#define Crystal_png_ARGB4444 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0004F5C0 )) +#define Crystal_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00053BA0 )) +#define CrystalDither_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0005659C )) + +#ifdef __cplusplus + } /* End of C Symbol */ +#endif + +#endif /* BINARYIMAGE_RZ_A1H_H */