Category Archives: Code Snippets

Eclipse with avr eclipse plugin

Eclipse can be used for Arduino and avr embedded development with avr-gcc. There is a nice plugin for it:

The plugin parses the output of some command line program to provide some properties and settings in eclipse. When the system local is not english, this cannot be parsed correctly. The simple fix is to run eclipse with the english locale.

Just create a script with:


Measuring execution times in .NET


var watch = Stopwatch.StartNew();
// the code that you want to measure comes here
var elapsedMs = watch.ElapsedMilliseconds;

Taken from: