Hello,

I am trying to read some information from channel 11 of MDA300 and MDA320. I
used the code provided by Crossbow for MDA300

record[0] = call Sample.getSample(11,ANALOG,MDA_SAMPLING_FREQ,SAMPLER_DEFAULT|
EXCITATION_33);

and then

switch (channelType) {
           case ANALOG:
             switch (channel) {
               case 11:
                   dataMDA[0]=data & 0xff;
                   dataMDA[1]=(data >> 8) & 0xff;
                   ....
               break;
...

and it is properly working, but if I use the same code for MDA320 it does
not work.
does somebody knows how to solve the problem? It looks like it does not have
channel 11: is this the problem?

Thanks in advance
David
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to