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
About GP2Y0A21YK
GP2Y0A21YK is a distance sensor and can be controlled by using the AnalogIn.
The range of this sensor is 10-80cm.
- Datasheet of GP2Y0A21YK
https://www.sparkfun.com/datasheets/Components/GP2Y0A21YK.pdf
About wiring
Sensor | GR-PEACH |
White wire | A0 |
Orange wire | GND |
Black wire | 5.0V |
Images/BinaryImage_RZ_A1H.h
- Committer:
- 1050186
- Date:
- 2016-05-20
- Revision:
- 6:6cad61e4a4c1
- Parent:
- 4:ffbd2a93b02f
File content as of revision 6:6cad61e4a4c1:
#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[ 0x00006087uL ]; #define Landscape_wide_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 )) #ifdef __cplusplus } /* End of C Symbol */ #endif #endif /* BINARYIMAGE_RZ_A1H_H */