This example uses the Bitmap device to draw to an in-memory buffer and writes the result to a TGA file. This can for example be used to make screenshots of an application normally running on an Arduino.