Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 3 KB

ImportantInfo.md

File metadata and controls

23 lines (20 loc) · 3 KB

Supported Parts

These pages contain pinout charts, specs, and datasheet links. Just like the pinout charts for the official boards, these are required reading for even the simplest projects and demonstrations.

General information

  • README (READ IT) This is the main documentation which describes the state of the standard Arduino API functions and general caveats and key information about these parts, as well as special features of this core
  • Making UPDI programmer These (unless running Optiboot) require a UPDI programmer, not a classic SPI programmer like a USBAsp/etc. Fortunately the ubiquitous and dirt cheap Nano or Pro Mini can be easily adapted to this task, this document explains how.
  • Direct Port Manipulation Like with the classic AVR parts, you can use direct port manipulation for ultra-fast read and write from pin. The names of the registers are different, and there are some additional caveats, but the sum-total effect of the changes to make the pins and their interrupts more powerful.
  • Manual Pin Interrupts Pin interrupt functionality is exposed through the Arduino API via attachInterrupt() - but as ISRs are in blocks of up to 8 pins, the attachInterrupt code has to handle the general case where any number and combination of interrupts are enabled on a given pin.
  • Sleep modes and power down The same sorts of power savings available on classic AVRs are also available with the megaavr parts - with slight differences in the setup procedures, but few substantial differences. Power-down sleep mode consumption of 0.1uA at 25C is typical assuming you can get all the peripherals turned off (at higher temperatures, power consumption is markedly higher - at 85C, the top of the range, 5uA in powerdown is typical). See the datasheet for more details.

Special Libraries