Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

Traffic Light Sensor with Arduino Nano

I have very basic knowledge with coding and currently I'm doing a project on developing a Traffic light sensor using LED and IR sensor. I have written a code to mimick traffic light changing from Green yellow and Red but I keep getting errors, could someone help please!!!

3 Replies
Highlighted
Commander Lvl 2
Message 2 of 4

Re: Traffic Light Sensor with Arduino Nano

Folks would be more likely to help you if you showed us your sketch (if it's short) or uploaded your longer code to a repository. Mentioning what the errors were would let us know what problems you are having.

 

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!

Copilot Lvl 2
Message 3 of 4

Re: Traffic Light Sensor with Arduino Nano


@fire-eggs wrote:

Folks would be more likely to help you if you showed us your sketch (if it's short) or uploaded your longer code to a repository. Mentioning what the errors were would let us know what problems you are having.

 

 


Please see below. I'm trying to use Manchester coding to set my receiver to detect light from the emitter, but this error keep showing up ( receiver_types.h invalid folder in the library).
VLCReceiver.jpg

Commander Lvl 2
Message 4 of 4

Re: Traffic Light Sensor with Arduino Nano

OK, so where is "receiver_types.h" on your system? Assuming that it actually exists, it apparently is someplace the Arduino compiler can't see it.

 

A couple of potentially useful posts on how Arduino include paths work: here and here. Or here.

 

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!