ts-7000
[Top] [All Lists]

[ts-7000] ts-7500: how fast can I get a digital ouput to pulse?

To:
Subject: [ts-7000] ts-7500: how fast can I get a digital ouput to pulse?
From: "Jon L" <>
Date: Tue, 19 Jul 2011 18:07:58 -0000
say I want to pulse a digital output pin to pulse with a ts-7500 with a 50% 
duty cycle. 

what is the fastest signal I can get and what is the best way to program such a 
signal?

I can only think of this in C:

do {
      sbuslock();
      setdiopin(pin, 0);
      usleep(1);
      setdiopin(pin,1); 
      sbusunlock();
      }
      while ( hell_not_frozen_over); 


but is this reliable?

and what will this do to the other processes running on the system?

is this a cpu hog or is there a better way to do this?







------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU