FAQ answer

What code size can be expected?

As so often, it depends on the specific case. However, the following Hello world-program compiles to 342 bytes for the MoteinoMEGA:

#include "SerialSynch.h"
using namespace Ser;
using namespace Ser::Synch;

 

int main()

{

// Open serial port using standard settings

init(SerialPort::SER_1);

// Send text to serial port

writeStr(SerialPort::SER_1,"Hello World!");

}

Of that, about 200 bytes are boot loader, interrupt vector table, etc. The only (and prefered) optimization is size optimization (-Os). A comparable Arduino-IDE sketch would be close to 2 kB.

Back to FAQ

Events

April 10th, 2017
Beta release 1.00 goes live.

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