task main() { // RCX needs to be told what kind of sensor is used SetSensor(SENSOR_1, SENSOR_TOUCH); On(OUT_A); until(SENSOR_1 == 1); PlaySound(SOUND_CLICK); Off(OUT_A); }
generate code listing
include source code in listings if possible
show command line usage
verbose
Compile with NQC