xnederlandx
Member
Hi,
My situation:
I want to use a 20X2 at 64Mhz to control a fan with PWM, depending on the temperature (by reading the DS18B20).
I also want to do some other things, but those are irrelevant.
Does anyone know if it is possible to read the DS18B20 temperature sensor using the 20x2 at 64Mhz (without temporarily reducing the clock to 4Mhz)?
I am aware that Readtemp / Readtemp12 will read the temperature, but those will lower the clock frequency to 4Mhz.
I'm looking at the owin & owout commands. They don't seem to specify that I need to be running at 4Mhz, but they don't say if they will work at 64Mhz either.
The reason I don't want the clock frequency to be reduced is because when using PWM, slowing the clock frequency interferes with the PWM and creates noise from my fans.
Thanks in advance...
My situation:
I want to use a 20X2 at 64Mhz to control a fan with PWM, depending on the temperature (by reading the DS18B20).
I also want to do some other things, but those are irrelevant.
Does anyone know if it is possible to read the DS18B20 temperature sensor using the 20x2 at 64Mhz (without temporarily reducing the clock to 4Mhz)?
I am aware that Readtemp / Readtemp12 will read the temperature, but those will lower the clock frequency to 4Mhz.
I'm looking at the owin & owout commands. They don't seem to specify that I need to be running at 4Mhz, but they don't say if they will work at 64Mhz either.
The reason I don't want the clock frequency to be reduced is because when using PWM, slowing the clock frequency interferes with the PWM and creates noise from my fans.
Thanks in advance...