Hello … I need your help in my project that obtain a certificate of studies.
Material :
Carte arduino uno
Camera sensor Pixy CMUcam5
3 leds ( green,blue,red)
Question:
Can I detect object through the leds (each object has its own illumination)
Exp:
If the camera pixy detect object 1 then Green led is HIGH
If the camera pixy detect object 2 then Red led is HIGH
If the camera pixy detect object 3 then Blue led is HIGH
I tried a lot in the cod hello_world , but I could not succeed .
if (sig==1) {
digitalWrite(led1, HIGH);
}
Thank you !!!