I have a conceptual question on which I'd appreciate some advice.
I have a sketch which, among other things, writes a pulse width modulation value to a pin (the PWM value controls the brightness of a string of LEDs via a BuckPuck).
When I wrote the sketch I included logic which causes the writing to the pin to not take place on every call to loop(). Instead, I use some logic to only update the pin's value every 5 seconds. I'm not using a call to delay() anywhere, I just monitor millis() and do the update every 5 seconds.
I was thinking that doing this would reduce the Arduino's power consumption. But upon further reflection I think that's silly -- the Arduino is busily running the loop, and if it takes less time in the loop because it's not updating the pin, all that's going to happen is that loop() will get called more frequently.
So now I'm thinking of eliminating that "event" logic, and just updating the pin on every pass through loop().
Is this a reasonable conclusion? Or are there advantages to not accessing external hardware as frequently (via updating the pin) that I'm not considering?