Post a new topicPost a reply Page 1 of 1   [ 2 posts ]
Author Message
 Post subject: Toggling IO pin of Waspmote
PostPosted: Fri Mar 02, 2012 9:56 pm 

Joined: Fri Mar 02, 2012 9:38 pm
Posts: 1
Hi all,
I am new in this forum. I want to measure the transmission time of sending a specific amount of data. The data is transmitted using XBee module.
How can I toggle (in my code) an IO pin before starting transmission?
How can I find that specific IO pin on the waspmote board, so that I can connect degi view to that pin?


Top
 Profile  
 
 Post subject: Re: Toggling IO pin of Waspmote
PostPosted: Tue Mar 06, 2012 10:16 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
Hi khukhu,

You may use just digitalWrite to set HIGH or LOW any of the I/O pins in the sensors connector, but I'm not sure to have understood why do you need to toggle apin, do you want to measure the time with an external device? Maybe you could use the RTC or the millis() function to measure that time?

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 2 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use