Go Down

Topic: OneWire and ClockSpeed (Read 657 times) previous topic - next topic


I have a project that uses onewire and some DS18B20 temp sensors.
my board is an atmega168 at 16mhz
to help reduce power i want to use the system clock prescaler to scale the clock down to 1mhz.

i have added an entry in boards.txt that specifies the 1mhz clock and everything seems to work fine except for the onewire stuff.

how might i have to modify the onewire library to get it to work at 1mhz?


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131