Basic LED logic