Need help initiating bs2 using signal
flcracker
Posts: 5
Hi
great forum! I am a new user and am begining to use the Homework Board.· I want to use the signal output from the speaker of an alarm clock to begin a program with the bs2. I guess it would be a subroutine.· im totally in the dark with this.· looking for someone to spell it out for me, for now, as i need to have this written tonight. (i posted this in similar thread).· this is the 'non science fair' part of my daughters science fair project.
Any and all help would greatly be appreciated!!
great forum! I am a new user and am begining to use the Homework Board.· I want to use the signal output from the speaker of an alarm clock to begin a program with the bs2. I guess it would be a subroutine.· im totally in the dark with this.· looking for someone to spell it out for me, for now, as i need to have this written tonight. (i posted this in similar thread).· this is the 'non science fair' part of my daughters science fair project.
Any and all help would greatly be appreciated!!
Comments
Your program would check the I/O pin and wait until the I/O pin is HIGH (1) before continuing.
Like: "WaitFor: IF IN1 <> 1 THEN GOTO WaitFor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Because it's hard to estimate the output voltage, you might change the 1K resistor to 10K.