Hi I'm using a PIC18F25K22 to drive 2x DHT22.
I found here some code working on PORTB.4
The other DHT is connected on PORTB.2 and... not working
I tried to exchange the 2 DHT22 without success. The 2 DHT22 are working fine on portB.4
sequence is:
TRISB.2 = 1 'input
my program... then
TRISB.2 = 0 'output
PORTB.2 = 0 'low
With my DSO, I can see something strange. It takes more than 1mSec to become low (see curve)
This is only on PORTB.2 !
May be you have an idea ? (I'm using PBP2.60)
Regards
Bookmarks