Hello all, I have some background in Java Programming but I am having quite a bit of trouble with my NXT robot and using the correct commands. I am reading the API about Lejos but I still need some help.:confused::confused::confused:

I am writing a avoidance program and I do not understand how to use the "TouchSensor" class along with all its sub functions. If anyone has an Idea about this PLEASE HELP ME.