Home

Awesome

PowerPoint_to_sketch

Create an Arduino Sketch from a VB macro in a PowerPoint presentation.

This PowerPoint presentation and the included VB macro is based on the work by Kris Kasprzak here.

The original VB macro created by Kris is part of the presentation, it has been expanded and enhanced with extra capabilities.

The example presentation creates an Arduino sketch that renders on a 480x320 TFT screen. This uses the fonts provided in the TFT_eSPI_ext library by Frank Boesing. Frank's library can be downloaded here.

The first PowerPoint slide lists capabilities, this slide is not included in the generated sketch:

PPT Slide 1

Here is slide 2 as created in PowerPoint example:

PPT Slide 2

Slide 2 as drawn by the created sketch and drawn on a 480x320 pixel TFT:

TFT Slide 2

Slide 6 shows how variables can be included in tables:

PPT Slide 6

Slide 6 as drawn on TFT:

TFT Slide 6

Rounded rectangles in the PowerPoint slide create clickable "buttons" on the TFT:

PPT Slide 7

Slide 7 as drawn on TFT by created sketch:

TFT Slide 7

Here is the sketch that has been generated from the presentation by the VB macro.