I'm starting my first project, and I can't even get an LED to light!
The code is trivial; PORTB is set to all outputs, and I toggle the pin high and low with a short delay.
Looking at the output, I see exactly what I should - the pin goes high and low as expected.
However, if I connect an LED (with resistor), and connect so the pin is sinking current, the level no longer goes from 0 to 5V. It goes from 5V to maybe 3.5V, and the LED does not light. Connecting the LED to have the pin source current has the pin going from 0 to ~1.5V. This happens with a variety of LED's, and resistor values.
Is there some setting I'm missing? Internal pullups getting in the way? Something else? I've looked at the examples but it's not clear at all what I'm overlooking.
I was under the impression that the ATTINY88 could drive LED's directly; I could use a FET but I don't think I should have to.
Thanks for any tips.
[ edit: Using AVR Studio 5, I'm pretty sure everything at default ]