Toggling a TelosB ADC Pin

From Cyber-Physical Systems Laboratory
Revision as of 17:16, 13 May 2008 by Liangfok (talk | contribs) (New page: First do this in StdControl.init(): <pre> TOSH_MAKE_ADC3_OUTPUT(); </pre> To set the pin high: <pre> TOSH_SET_ADC3_PIN(); </pre> To set the pin low: <pre> TOSH_CLR_ADC3_PIN(); </pre>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

First do this in StdControl.init():

TOSH_MAKE_ADC3_OUTPUT();

To set the pin high:

TOSH_SET_ADC3_PIN();

To set the pin low:

TOSH_CLR_ADC3_PIN();