Hi i have a problem. I'm using a tmote sky with tinyos 1.1 and i must sample the voltage on a external capacitor. I set the ADC3 of the expansion connector but, when i see the value with the java Listen application, the tmote doesn't sample anything. The question is: all the channels are the same? The code i wrote to connect the external capacitor is:
enum { TOS_ADC_SUPERCAP_PORT = unique("ADCPort"), TOSH_ACTUAL_ADC_SUPERCAP_PORT = ASSOCIATE_ADC_CHANNEL( INPUT_CHANNEL_A3, REFERENCE_VREFplus_AVss, REFVOLT_LEVEL_2_5 ), }; which is the error? Is this the only part of code that i must change from the tutorial examples? Thanks _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help