my basic eyes-ping sensor code (simple)