Digital In

14 views
Skip to first unread message

Ruud van der Wouden

unread,
Oct 16, 2014, 11:25:57 AM10/16/14
to netlab-...@googlegroups.com
Hi, 

I'm new to Netlabtoolkit and Xbee's.  I managed to set up a connection between Falsh and the XBee that works well with the AnalogIn, but when I try to do the same with the DigitalIn it doesn't respond to the XBee. I ran the same setup with arduino, and there the digitalIn responds to the button. So I know the wiring is OK, the XBees are communicating well with flash I use the same settings in flash for the digitalIn and the AnalogIn.  Do I have to use a different Inputnumber, and how can I know which inputs are digital and which are analog?

Thanks for reading, even more thanks for answering

regards
Ruud

Philip van Allen

unread,
Oct 26, 2014, 7:37:24 PM10/26/14
to netlab-...@googlegroups.com
Hello Ruud,

I’m not sure what the problem is - the inputs of the XBee can be either analog or digital - the Hub reconfigures the port depending on the widget. You only use ports 0-5 on the XBee. 

But if you can’t get the DigitalIn to work, you can use the AnalogIn with a switch and it will have the same effect.

.phil

--
You received this message because you are subscribed to the Google Groups "NETLab Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlab-toolki...@googlegroups.com.
To post to this group, send email to netlab-...@googlegroups.com.
Visit this group at http://groups.google.com/group/netlab-toolkit.
For more options, visit https://groups.google.com/d/optout.

Ruud van der Wouden

unread,
Oct 27, 2014, 3:47:31 AM10/27/14
to netlab-...@googlegroups.com
Hello Philip,

Thanks for your reply.
That solved my problem perfectly

regards
Ruud
Reply all
Reply to author
Forward
0 new messages