How to turn on an LED only when "click" is enabled?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- bahootas
- Posts: 5
- Joined: Sat May 11, 2013 9:35 pm
How to turn on an LED only when "click" is enabled?
Hi! I'm using Makey Makey and Arduino. I'd like to have an LED or vibration motor turn on only when "click" is enabled. Can anyone suggest the wiring and sketch to use, please? If I hook up an LED to "Earth" and D16, the LED (and vibration motor) turns on for ALL the mouse functions (i.e., up, down, left and right), but I just want to isolate the LED or vibration motor to turn on ONLY when "click" is enabled. Thanks everyone!
Please be positive and constructive with your questions and comments.