Disabled internal Pull-up resistors for power consumption
This commit is contained in:
parent
cbcecddc2f
commit
63bafa9061
@ -470,8 +470,10 @@ int main()
|
||||
|
||||
void simple_init()
|
||||
{
|
||||
#if 0
|
||||
// Set pull-ups on button and rotary encoder
|
||||
PORTB = (1 << 1) | (1 << 3) | (1 << 4);
|
||||
#endif
|
||||
|
||||
// Prescaler 4 (1 MHz / 256 / 4 ~ 1000)
|
||||
TCCR1 = (1 << CS11) | (1 << CS10);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user