I want to record data from dht11 and turn on the LED in the same code the dht11 work good by separate code the led also work well by separate code the problem is when I make it one py code problem become with error
ValueError: A different mode has already been set!