Hi Srkanth,

There's not much example code as far as I know. Check the
tos/sensorboards/mts300, mts400 and mda100 sensorboard drivers' lower
levels.
There's also a TEP about low level IO (you should probably start with this):
http://www.tinyos.net/tinyos-2.1.0/doc/html/tep117.html

Andris

2011/10/10 srikanth pasumarthy <[email protected]>:
> Hi Andris,
>    Thank you very much for quick reply and information.
>    Can you share with me any materials/tutorials/examples which involves
> usage of any of these 51 pins.
> Srikanth.
>
> 2011/10/10 Bíró András <[email protected]>
>>
>> Hi,
>>
>> You will need the file tos/platforms/mica/MicaBusC.nc. This config
>> provides almost all the pins as GeneralIO, and gives you 8 ADC.
>> There's also an i2c, spi and usart, which you can use directly from
>> the mcu driver.
>>
>> Andris
>>
>> On Mon, Oct 10, 2011 at 5:09 PM, srikanth pasumarthy
>> <[email protected]> wrote:
>> > My project is on home automation where we would like to remotely control
>> > electrical appliances.
>> >
>> >   We need to interface our circuit with iris mote using 51 pin expansion
>> > connector. But, in all the docs I have seen they are interfacing sensor
>> > boards with motes and couldn't get idea of how to use these 51 pins
>> > without
>> > sensor board.
>> >
>> > Is there some way we can program and use some pins(of 51) as digital I/O
>> > pins?
>> > _______________________________________________
>> > Tinyos-help mailing list
>> > [email protected]
>> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to