Ddr-ArdMeg is a high performance device driver library for the Arduino® Mega 2560 or any MCU being a strict subset thereof. Some highlights are:

  • High performance
  • Low foot print (serial "Hello world!" uses 342 bytes)
  • Extensive compile time type checking
  • Specifically targets Arduino® Mega 2560 and MoteinoMEGA but can be reconfigured for any MCU being a subset of the 2560
  • Entirely independent from the Arduino software
  • Developed using AVR-GCC 4.9.2, AVR-LibC 1.8.1 and Eclipse
  • Licensed under GPL

The library currently includes drivers for:

  • DIO-ports
  • DIO-pins
  • External interrupts
  • Synchronous and asynchronous Serial (RS232)
  • Synchronous and asynchronous SPI
  • A/D conversion
  • Reading & writing built-in EEPROM
  • Binary number representation (e.g. b1001)
  • High-performance circular buffers
  • Direct and offset addressing of periferal registers


April 10th, 2017
Beta release 1.00 goes live.

March 15, 2017
Site goes live. Beta release is in the making.