Illustrates the use of LED as sensors(input) and output devices simultaneously