[Avrora] How to implement a temperature sensor?

Zhifeng Lai zflai at ust.hk
Mon Aug 27 09:09:07 PDT 2007

Dear all,

It seems that Avrora does not implement a temperature sensor, I therefore
want to create it using the LightSensor template and add it to the mica2
platform. Could you tell me how to correctly connect it to the
microcontroller. In particular, I want to understand the meaning of this

    lightSensor = new LightSensor(amcu, 1, "PC2", "PE5");

in "avrora.sim.platform.Mica2.addDevices" method. Many thanks!

Best regards,

Yours sincerely,
Zhifeng Lai

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucla.edu/pipermail/avrora/attachments/20070828/725931a9/attachment.htm 

More information about the Avrora mailing list