Combining object detection and led sensor coding in python

Hi. I was wondering. how do i combine my coding for object detection and led sensor. i have craeted both coding successfully. but how do i combine these two coding so that when an object is detected, the led sensor will light.

1 Like