[Tinyos-help] running Accelerometer on iris mote with mts300

Pipo cslab150 at gmail.com
Wed Nov 24 14:55:26 PST 2010

I ran lesson5 (Sense) which is voltage sensing on iris with mts300. Now I
want to change it to accelerometer. Base on the lesson5 I should change

 components new VoltageC() as DemoSensor;

to something like this:

 components new ConstantSensorC(uint16_t, 0xbeef) as DemoSensor;

but what I found in DemoSensorC is:

 generic configuration DemoSensorC() {

provides interface Read<uint16_t>;


implementation {

components new PhotoC() as Sensor;

 Read = Sensor;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101124/932ea1cd/attachment.htm 

More information about the Tinyos-help mailing list