ATtiny40

ATtiny40 is a microcontroller in the Atmel AVR family. It is available in the 20-pin SOIC, 20-pin TSSOP, or 20-pin VQFN package with a 4, 8, or 12 MHz selected clock speed. Running higher clock speeds require higher minimum operating voltages, with 1.8 volts for 4 MHz, 2.7 volts for 8 MHz, and 4.5 volts for 12 MHz. It has the following features:


 * 1 SPI
 * 1 I2C
 * 10-bit ADC with 12 channels
 * 1 analog comparator
 * temperature sensor
 * 2 timers
 * 2 PWM
 * internal RC oscillator
 * watchdog