Playing around with the scripts by zitronen on the KSP Forum http://forum.kerbalspaceprogram.com/threads/66393-Hardware-Plugin-Arduino-based-physical-display-serial-port-io-tutorial-%2808-Oct%29
Git page for the plugin: https://github.com/zitron-git/KSPSerialIO