Altera_Forum
Honored Contributor
8 years agoimplementing distance sensor in my code
Hello all,
I really need your help, i'm kind of in the dark here i want to implement 'Sharp's' Distance sensor {DataSheet attached} in my project and i honestly don't know where to begin coding. If to look at the great picture - i want to be able to know when the object is 20 CM from the sensor and then perform an action( turning LED or anything else). can anyone please guide me? or giving me something to read? any video i can watch? it will be highly appriciated! i'm using DE2-115, BTW.