The landing gear sensors are represented by the three digital inputs on the far left (high means retracted, low means extended.) The red LED lights up if ANY one of the gear are retracted. The green LED lights up if ALL of the gear are properly extended. (Adapted from Fig 3-40 of "Digital Fundamentals" 11th ed. by Floyd.)