Hi Antonis, What platform are you using? What is DHT21? I couldn't find anything about it..
Best, Andras Biro http://ucmote.com On Tue, Apr 8, 2014 at 6:22 PM, Antonis Tzounis <atzou...@gmail.com> wrote: > Hello, > I am trying to use SHT21 sensor, but there are errors both in my > configuration file and when I am trying to compile my code. The error is > : component 'Sht21C' is not generic > > This is the part of the code that has this error: > components new Sht21C as TempSensor; > components new Sht21C as HumiSensor; > > Please not that I have already created in my main module file. > //READ (SENSE) > interface Read<uint16_t> as TempRead; //Temperature reader > interface Read<uint16_t> as HumiRead; //Humidity reader > > And I implement the wiring back in my configuration file. > > This code works with SensirionSht11() device (which is generic). > > What am I doing wrong? Do you think it will work with DHT21(3-pin > interface) sensor? > > I am quite new in TinyOs so any suggestion, further reading or guidance > would be very helpful. > Thank you all. > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help