Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

How to turn on an LED only when "click" is enabled?
Moderators: adafruit_support_bill, adafruit

How to turn on an LED only when "click" is enabled?

by Bahootas on Sat May 11, 2013 9:40 pm

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!
Bahootas
 
Posts: 2
Joined: Sat May 11, 2013 9:35 pm