Rahul, Thanks, I have used VOltageC. But as I have read, I think that VoltageM returns the value as a direct reference, of mv, VoltageC does not. Was just thinking this was a better implementation of obtaining the voltage values. The current conversion I have for VoltageC returns values that increase as the battery dies, this is wierd....
Thanks. Josh Quoting Rahul Sawant <[EMAIL PROTECTED]>: > Hi > r u using VoltageC from tos/system if not use this as this is the > configuration for VoltageM and it includes voltage.h > if ur using VoltageC then It seems like you dont have the voltage.h file in > tos/platform/mica2 if u dont just download the attached file > > Rahul Sawant > > > On 4/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hey all, > > IM trying to use the VoltageM component with mica2 tinyos-1.1.15, as it > > returns the actually voltage in mv. However, when I compile i get these > > errors: > > > > C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc: In > > function `Std > > Control.start': > > C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:67: > > `TOS_ADC_VOLT > > AGE_PORT' undeclared (first use in this function) > > C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:67: (Each > > undecla > > red identifier is reported only once > > C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:67: for > > each func > > tion it appears in.) > > C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:68: > > `TOSH_ACTUAL_ > > VOLTAGE_PORT' undeclared (first use in this function) > > make: *** [exe0] Error 1 > > > > > > Any ideas??? thanks so much > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
