Raspberry Pico and DHT11 not working C/C++
I found a fix!
I used this line of code instead
if (count &gt;46) data[j / 8] |= 1;

Instead of
if (count &gt; 16) data[j / 8] |= 1;

There is a whole github issue that talks about it here
I also find out that the for this to work the sensor should be using a 4.7k Ohm resitance so since my board had an embedded resistance of 5.1k I had to had a 55k Ohm resistance in parallel to pull it down to 4.7k and now the code works!
Many thanks for those that tried to help me!