Whistle-On Whistle-Off
This experiment turns on a LED when a whistle is detected. The LED turns off when the whistle is detected for the second time. ;Expt11b.asm ;Project: Whistle-On Whistle-Off List P = 16F84 #include <p16F84.inc> __CONFIG 1Bh ;_CP_OFF & _PWRTE_ON & _WDT_OFF & _RC_OSC SetUpDelay Delay1 DelayA Look Look1 Look2 Main Main1 Main2 Main3 ORG 00 …