Shop OBEX P1 Docs P2 Docs Learn Events
Optical Detector / Phototransistor — Parallax Forums

Optical Detector / Phototransistor

kenwtnkenwtn Posts: 250
edited 2008-06-18 15:12 in BASIC Stamp
Hi All,

···· I was given a couple of Optical Detector / Phototransistors and I understand they can be used to detect changes between a white and black surface. What I was hoping was to use 1 to detect wheel movement on my robot, but I can not find any examples of using them. There is 2 leads to the E and 2 lead to S. Does anyone have a example of connecting them to a BS2 and code to read them?

Comments

Sign In or Register to comment.