Dear all, i'm trying to measure on micaz motes the voltage by using VoltageC, but the main program (BcastM.nc) is not able to get the dataReady. If anyone can help me, this is the structure: in the configuration file: components Main,BcastM,.......,VoltageC; [..] Main.StdControl->VoltageC; BcastM.Voltage->VoltageC; [..] in the module BcastM.nc: [..] uses interface ADC as Voltage; [..] float Vbatt; and along the main: async event result_t Voltage.dataReady(uint16_t datas){ call Leds.yellowToggle(); atomic{Vbatt=1.223*1024/datas;} return SUCCESS; } event result_t Timer.fired(){ call Voltage.getData(); } by checking with leds, i can see i'm not able to get data for measuring the voltage...any suggestions? Thanks in advance for any feedbacks and helps Daniele
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help