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:
Fri May 20 02:33:41 2016 +0000
Revision:
6:6cad61e4a4c1
Parent:
4:ffbd2a93b02f
Modify main.cpp

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 4:ffbd2a93b02f 8 extern const uint8_t RGA_Sample_BinaryImage[ 0x00006087uL ];
1050186 0:84e4649e7707 9
1050186 4:ffbd2a93b02f 10 #define Landscape_wide_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 */