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 |
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
6:6cad61e4a4c1 | 2016-05-20 | 1050186 | Modify main.cpp |
5:ac895a9527ab | 2016-05-13 | 1050186 | Change main.cpp |
4:ffbd2a93b02f | 2016-05-13 | 1050186 | First commit |
3:841987280a7f | 2016-01-21 | dkato | Add touch operations. |
2:c7faef0ef374 | 2016-01-21 | dkato | Add touch operations. |
1:a07212e32dcb | 2016-01-20 | 1050186 | Modify macro definition |
0:84e4649e7707 | 2016-01-20 | 1050186 | First commit |