CY8CKIT-040 PSoC
®
4000 Pioneer Kit Guide, Doc. # 001-91316 Rev. *F
92
Code Examples
Scan all sensors
excluding Prox
Get Trackpad
position
Update PrISM duty
based on color and
brightness level
Process co‐
ordinates to
obtain color
and brightness
detail
Is any sensor
active?
Yes
Increment NO_ACT
counter
No
Is NO_ACT > 5
secs?
Mode =
SLEEP_SCAN
and enter sleep
scan
Yes
Reset NO_ACT to 0
End of loop
No
Is NO_ACT > 2.5
secs?
Yes
Start dimming LED
No
C
Содержание CY8CKIT-040 PSoC 4000 Pioneer Kit
Страница 20: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 20 Kit Operation...
Страница 37: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 37 Hardware...
Страница 73: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 73 Code Examples Raw count and Baseline...