Shop OBEX P1 Docs P2 Docs Learn Events
TCS3200-DB Output Rate — Parallax Forums

TCS3200-DB Output Rate

bkirkbkirk Posts: 37
edited 2012-11-03 11:34 in Accessories
Is the following code the correct set-up to make my TCS3200-DB sensor run at the maximum output rate? I'm using a Mobostamp. Thanks.

- Ben

' {$STAMP BS2pe}
' {$PBASIC 2.5}
'
[ I/O Definitions ]

S3 PIN 0
S2 PIN 1
LED PIN 5
Owio PIN 6
OUT PIN 7

'
[ Initialization ]

PAUSE 10
OWOUT Owio, 1, [$05, $15]
Sign In or Register to comment.