I have been trying the examples using get_adc(1) with no luck.
So after looking in TinyOS implementation for mda100cb, I found:
For Temperature -> EnablePin -> MicaBusC.PW0;
For PhotoDiode -> EnablePin -> MicaBusC.Int1;
tos/platforms/mica/MicaBusC.nc:47: PW0 = Pins.PortC0;
tos/platforms/mica/MicaBusC.nc:56: Int1 = Pins.PortE5;
With this information it is easier to develop the right files for contiki.
No hay comentarios:
Publicar un comentario