Image Zoom In/out Sample. This program uses GraphicsFramework library and GP2Y0A21YK sensor. Please use distance sensor in the range of 10-30cm.

Dependencies:   GR-PEACH_video GraphicsFramework R_BSP mbed-rtos mbed

Fork of RGA_HelloWorld by Renesas

About GP2Y0A21YK

GP2Y0A21YK is a distance sensor and can be controlled by using the AnalogIn.
The range of this sensor is 10-80cm.

About wiring

SensorGR-PEACH
White wireA0
Orange wireGND
Black wire5.0V
Committer:
1050186
Date:
Wed Jan 20 02:35:42 2016 +0000
Revision:
0:84e4649e7707
Child:
2:c7faef0ef374
First commit

Who changed what in which revision?

UserRevisionLine numberNew 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 0:84e4649e7707 8 extern const uint8_t RGA_Sample_BinaryImage[ 0x00057DBFuL ];
1050186 0:84e4649e7707 9
1050186 0:84e4649e7707 10 #define JPEG_jpg_ARGB8888 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 ))
1050186 0:84e4649e7707 11 #define JPEG_jpg_RGB565 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0000A520 ))
1050186 0:84e4649e7707 12 #define JPEG_jpg_ARGB1555 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0000FD40 ))
1050186 0:84e4649e7707 13 #define JPEG_jpg_ARGB4444 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00015560 ))
1050186 0:84e4649e7707 14 #define JPEG_jpg_YUV422 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0001AD80 ))
1050186 0:84e4649e7707 15 #define Flower_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0001FEC0 ))
1050186 0:84e4649e7707 16 #define Landscape_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00026008 ))
1050186 0:84e4649e7707 17 #define Landscape_wide_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0002AD28 ))
1050186 0:84e4649e7707 18 #define TopScrn_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00030DB0 ))
1050186 0:84e4649e7707 19 #define RetBtn_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00040A78 ))
1050186 0:84e4649e7707 20 #define Crystal_png_ARGB8888 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00042440 ))
1050186 0:84e4649e7707 21 #define Crystal_png_ARGB1555 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0004AFE0 ))
1050186 0:84e4649e7707 22 #define Crystal_png_ARGB4444 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0004F5C0 ))
1050186 0:84e4649e7707 23 #define Crystal_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00053BA0 ))
1050186 0:84e4649e7707 24 #define CrystalDither_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0005659C ))
1050186 0:84e4649e7707 25
1050186 0:84e4649e7707 26 #ifdef __cplusplus
1050186 0:84e4649e7707 27 } /* End of C Symbol */
1050186 0:84e4649e7707 28 #endif
1050186 0:84e4649e7707 29
1050186 0:84e4649e7707 30 #endif /* BINARYIMAGE_RZ_A1H_H */