On a tmote, the parameters to an adc port can be bound as follows:

    call ADC.bind(ADC12_SETTINGS(INPUT_CHANNEL_A0,
                                 REFERENCE_VREFplus_AVss,
                                 SAMPLE_HOLD_4_CYCLES, 
                                 SHT_SOURCE_ADC12OSC,
                                 SHT_CLOCK_DIV_2,
                                 SAMPCON_SOURCE_SMCLK,
                                 SAMPCON_CLOCK_DIV_1,
                                 REFVOLT_LEVEL_2_5));

What if I want to set new parameters, such as to change the reference
voltage? Do I just issue a new call to ADC.bind, or do I have to unbind the
current parameters first?

-- Bill


-------------------------
Bill Leal
Computer Science and Engineering
The Ohio State University
395 Dreese Laboratories
2015 Neil Avenue
Columbus, OH 43210-1277
Fax:  +1-815-301-8202 


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to