Help: Digital Out

23 views
Skip to first unread message

tommy quek

unread,
Oct 16, 2015, 11:32:34 AM10/16/15
to NETLab Toolkit
Hello,
I am using hubFeed and MobileControl, 
I am able to control Analogin : ie: Control RGBLED changes color via Arduino.

May I know how can I sent a 1 to turn on LED on the 
out Arduino 12 
out Arduino 13

My AS3 for code:
#####
insert4.insertInput = processInput4;
function processInput4(inputValue4, id) {
if (inputValue4 == 1) {
insert4.outputValue = 0;
} else {
insert4.outputValue = 1;
}
}

insert5.insertInput = processInput5;
function processInput5(inputValue5, id) {
if (inputValue5 == 1) {
insert5.outputValue = 0;
} else {
insert5.outputValue = 1;
}
}
######
My LED is on when I click on the 
out Arduino 12 
out Arduino 13

thank you
-tommy


Philip van Allen

unread,
Oct 16, 2015, 11:34:52 AM10/16/15
to NETLab Toolkit
I'm not sure what your question is. Can you give me more detail?

tommy quek

unread,
Oct 19, 2015, 2:19:36 AM10/19/15
to NETLab Toolkit
Hello,
Is it working... I missed read "the “open” position ranged from 500-700"
thank you for your time.
regards
-tommy

tommy quek

unread,
Oct 19, 2015, 2:19:36 AM10/19/15
to NETLab Toolkit
Hello,
My apologies for the unclear and thank you for your reply.

I tired and is working well to control a RGB-LED light using Arduino UNO with NTK AnalogIn/AngalogOut.
The RGB-LED light colour changes using the iPhone 5s.

Adding on to the program, I am able to send value 0 or 1 to (input) insert4 & insert5 of the DigitalOut. (please see picture below)
But I am not able to sent (output) to arduino 12 and arduino 13 on the DigitalOut.
Please note: my 2 LED lights connected to the UNO pin 12 & pin 13 lighted up when i click on the out (please see "click" picture below)

May I know how to sent a value/signal to activate OUT on the DigitalOut. 

thank you again
regards
-tommy


Tommy Quek

unread,
Oct 20, 2015, 5:43:18 AM10/20/15
to NETLab Toolkit
Thank you... allow me to share
 
Reply all
Reply to author
Forward
0 new messages