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 |
Images/BinaryImage_RZ_A1H.h@4:138b18a6ac7b, 2016-05-23 (annotated)
- Committer:
- 1050186
- Date:
- Mon May 23 10:03:17 2016 +0000
- Revision:
- 4:138b18a6ac7b
- Parent:
- 2:c7faef0ef374
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
1050186 | 0:84e4649e7707 | 1 | #ifndef BINARYIMAGE_RZ_A1H_H |
1050186 | 0:84e4649e7707 | 2 | #define BINARYIMAGE_RZ_A1H_H |
1050186 | 0:84e4649e7707 | 3 | |
1050186 | 0:84e4649e7707 | 4 | #ifdef __cplusplus |
1050186 | 0:84e4649e7707 | 5 | extern "C" { /* Start of C Symbol */ |
1050186 | 0:84e4649e7707 | 6 | #endif |
1050186 | 0:84e4649e7707 | 7 | |
1050186 | 4:138b18a6ac7b | 8 | extern const uint8_t RGA_Sample_BinaryImage[ 0x00003902uL ]; |
1050186 | 0:84e4649e7707 | 9 | |
1050186 | 4:138b18a6ac7b | 10 | #define Flower_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 )) |
1050186 | 0:84e4649e7707 | 11 | |
1050186 | 0:84e4649e7707 | 12 | #ifdef __cplusplus |
1050186 | 0:84e4649e7707 | 13 | } /* End of C Symbol */ |
1050186 | 0:84e4649e7707 | 14 | #endif |
1050186 | 0:84e4649e7707 | 15 | |
1050186 | 0:84e4649e7707 | 16 | #endif /* BINARYIMAGE_RZ_A1H_H */ |