// RUN: avr-gcc -mmcu=atmega328p @file -o /dev/stdout | avr-sim #include "../src/libavrlit/avr-lit.hpp" using namespace test; static const int SMALL_NUMBERS[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; static const int BIG_NUMBERS[] = { 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, }; int average(const int values[], int count) { int sum = 0; for (int i=0; i