Adapting Xark Library

A project log for Arduino Enigma Machine Simulator

An Enigma Machine Simulator was created with an Arduino UNO and a Touchscreen LCD. Simulates Enigma I, M3, M4, the Plugboard and Uhr Switch.

Arduino EnigmaArduino Enigma 06/23/2016 at 03:030 Comments

This project uses the Seeed Studio TFT library to draw all the screen elements. @Xark optimized @adafruit TFT library to draw things faster. Both libraries are not compatible with each other. They have different function names and the actual Tft shields use different pins for data and command.

I am working on modifying @Xark library so it is drop in compatible with Seeed library. Some functions need renaming: drawRect -> drawRectangle. Some functions need their parameters re-arranged.

I got a prototype working. It runs faster. Need to test thoroughly...