??? 04/22/04 11:57 Read: times |
#69005 - re:code to turn on/off vibrator |
Hi,
I am trying to turn on a vibrator for 2 sec's and off for 2 seconds when the phone, doorbell or smoke led go off.The harware is fine because I have written a few lines to turn it on continuously but I cannot do it to turn it on for a duration and off for another duration.I have a push button connected to pin 12 of the 8051 which is the INTO.I also have 3 leds connected to port 2 pins for the smoke, phone and doorbell.Below is the code that I am using.Can anyone help me with this??Where am I going wrong??I only want the vibrator to go on and off during the duration of which ever led is on and then to time out. I would really appreciate all help as I don't know what else to do. Thank you, Maria |
Topic | Author | Date |
re:code to turn on/off vibrator | 01/01/70 00:00 | |
RE: re:code to turn on/off vibrator | 01/01/70 00:00 | |
RE: re:code to turn on/off vibrator | 01/01/70 00:00 | |
RE: re:code to turn on/off vibrator![]() | 01/01/70 00:00 |