Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.67 KB

File metadata and controls

27 lines (15 loc) · 1.67 KB

Main branch building

Navball library for Arduino, using KerbalSimpit to connect KSP to the Arduino

The goal of this library is to be able to draw a navball on a screen connected to an Arduino, in order to integrate it in a custom KSP controller.

How to install

Just copy the content into the libraries folder of Arduino. After restarting the Arduino IDE, you should see the KerbalNavball examples.

See the Arduino IDE documentation on how to install a library.

Requirements

This library use the Simpit library to connect to KSP. Version 2.1.0 or higher of Simpit is needed.

This library is (mostly) tested with an Arduino Due with this screen, based on a HXD8357D with a resolution of 320x480. It is wired using a parallel 8-bit mode, as decribed in this Adafruit tutorial

Performance

The following table gives some values of the time needed to compute a frame in different scenario with an Arduino Due with an HXD8357D. It is wired using a parallel 8-bit mode.

Example Size Time
KerbalSimpitNavballStandalone 300x300 between 650ms and 700ms
KerbalSimpitNavballStandalone 200x200 between 450ms and 500ms