A newbie in need of help

Hi I just started to do an exam project where I have to do some Arduino coding and I do not know where to find the code info I need. I have to use an OPB705, which is an infrared light sensor, and I want it to connect to Analog in pin A0 and I want the Arduino to read the Volt frequency value it reads so I can do a lot of if and else statements for it its LOW or High. But I dunno even how to start up. Please help me.

For a start

a) Read the datasheet of the OPB705
b) Learn how to code (or at least look at the examples)
c) Chop your projects into little pieces :slight_smile:

Thank you for the help.