I'm trying to use a DHT11 temp & humidity sensor with an Arduino and am hoping to use the sht11demo.pde that comes with the Ports library.
I believe the pin mapping is this: Digital port pin = Arduino digital pin #(port+3) Analog port pin = Arduino analog pin #(port-1)
just from poking around in the .cpp files...
So, I thought that when the code says "SHT11 hsensor (1);", if I connect the signal line of the sensor to digital pin 4 on the Arduino, it would just work.
Well, I've tried just about all of the pins, and can only ever manage to get "0 0 1 0.10 -39.66" printing... which it reads even when nothing is connected.
Sooooo my question is if anyone knows how I can get this working on a Duemilanove, please?