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 |
Files at revision 6:6cad61e4a4c1
Name | Size | Actions |
---|---|---|
[up] | ||
Images | ||
GR-PEACH_video.lib | 74 | Revisions Annotate |
GraphicsFramework.lib | 77 | Revisions Annotate |
R_BSP.lib | 65 | Revisions Annotate |
main.cpp | 7577 | Revisions Annotate |
mbed-rtos.lib | 65 | Revisions Annotate |
mbed.bld | 65 | Revisions Annotate |
rga_func.cpp | 2408 | Revisions Annotate |
rga_func.h | 1618 | Revisions Annotate |