digitalPin giving lower voltage than Vcc I am using an ATTINY88 for a project that requires to turn on an LED. Right now I am using pin PA1(ADC7/PCINT25). I noted, however, that when the pin is ON, I get about half the voltage that is connected to Vcc. I checked the voltage in other pins and they are close to Vcc. Will anyone know, what could be the reason for this?

I figure this pin has an internal resistor enable, but I am not certain.
You should connect the AVCC pin to VCC. From the datasheet (emphasis
mine):


  AVCC is the supply voltage pin for the A/D converter and
  a selection of I/O pins. This pin should be externally connected to
  VCC even if the ADC is not used. [...]
  
  The following pins receive their supply voltage from AVCC:
  PC7, PC[5:0] and (in 32-lead pack- ages) PA[1:0]. All other I/O
  pins take their supply voltage from VCC.