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;
}
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help