Arduino and chipKIT Libraries


MCP23S17 IO Expander

The MCP23S17 is a 16 port SPI controlled IO expander. It has two 8 bit IO ports, and each pin of each port can be individually configured as input or output. Input pins can also generate interrupts. This library allows an Arduino or a chipKIT board to control up to 8 expander chips per SPI CS pin.

{ To the repo! | Download as a ZIP file | Doxygen Reference | PDF Manual }

TFT Library

The TFT library is the ultimate library for driving a TFT screen (and also others) from a chipKIT board. With many very powerful features to get the most out of the power of the chipKIT board, this library is the one you need. Currently the library supports TFT screens based on:

  • BD663474 (240x320)
  • HX8357 (320x480)
  • ILI9340 (240x320)
  • S6D0164 (176x220)
  • SSD1289 (240x3420)
  • SSD1963 (800x480)
  • ST7735 (128x160)

There is also support for:

  • KS0108 graphical LCDs
  • LED Matrix

The library also has support for "virtual" devices. These range from memory backed framebuffers (internal SRAM and external SRAM chips), aggregate devices to combine multiple displays into one larger virtual display, etc.

There is also touch screen support built in, covering:

  • XPT2046
  • Analog IO direct connection

All these screen drivers can be combined with different IO drivers, including:

  • SPI (hardware AND software)
  • Parallel Master Port
  • Generic pin assignments
  • Shift registers
  • IO Expanders

The library also boasts extra facilities, such as:

  • Multiple fonts in many sizes, some with 2-bit depth support for anti-aliasing
  • BMP and RGB565 image drawing routines, at multiple colour depths, and handling alpha channels
  • Extensive colour library using the standard XWindows "rgb.txt" colour names

And for you speed junkies there are some special drivers for specific devices to get the highest possible speed out of the system:

  • PICadillo-35T
{ To the repo! | Download as a ZIP file | Download as a ZIP file including ALL extras | PDF Manual }