Author | Sebastien Lelong, Copyright © 2008-2009, all rights reserved. |
Adapted-by | |
Compiler | >=2.4k |
this lib is able to handle the GP2D02 lib, reading distance measure with this IR Ranger. You can either use the read procedure, or access the pseudo-variable to retrieve distance measures. When defining pins the ranger is connected to to, it's important to set them as "volatile" (level will go low/high within function call) See sample(s) for more.
- datasheet: http://www.datasheetcatalog.org/datasheet/Sharp/mXvryzu.pdf
reading a distance can take quite a long time, approx. 74ms. See datasheet for more, but you should remember this while using this IR ranger
gp2d02_read_pins(volatile bit out pin_vin, volatile bit in pin_vout) return byte
No documentation found
16f648a | 16f648a_ir_ranger_gp2d02.jal |
16f723 | 16f723_ir_ranger_gp2d02.jal |
18f2450 | 18f2450_ir_ranger_gp2d02.jal |
18f2520 | 18f2520_ir_ranger_gp2d02.jal |
18f2550 | 18f2550_ir_ranger_gp2d02.jal |
18f2620 | 18f2620_ir_ranger_gp2d02.jal |
18f452 | 18f452_ir_ranger_gp2d02.jal |
18f4550 | 18f4550_ir_ranger_gp2d02.jal |
18f4620 | 18f4620_ir_ranger_gp2d02.jal |