AberLED shield library
Library for the bicolor LED (and TFT screen) shield used in CS12020
|
#include "TFT_ST7735.h"
#include <avr/pgmspace.h>
#include <limits.h>
#include "pins_arduino.h"
#include "wiring_private.h"
#include <SPI.h>
Go to the source code of this file.
Macros | |
#define | spi_begin() |
#define | spi_end() |
#define | DELAY 0x80 |
#define | MADCTL_MY 0x80 |
#define | MADCTL_MX 0x40 |
#define | MADCTL_MV 0x20 |
#define | MADCTL_ML 0x10 |
#define | MADCTL_RGB 0x00 |
#define | MADCTL_BGR 0x08 |
#define | MADCTL_MH 0x04 |
Functions | |
void | spiWait17 (void) __attribute__((always_inline)) |
void | spiWait15 (void) __attribute__((always_inline)) |
void | spiWait14 (void) __attribute__((always_inline)) |
void | spiWait12 (void) __attribute__((always_inline)) |
void | spiWrite16 (uint16_t data, int16_t count) __attribute__((always_inline)) |
void | spiWrite16s (uint16_t data) __attribute__((always_inline)) |
void | spiWrite16R (uint16_t data, int16_t count) __attribute__((always_inline)) |
#define DELAY 0x80 |
Definition at line 208 of file TFT_ST7735.cpp.
#define MADCTL_BGR 0x08 |
Definition at line 1503 of file TFT_ST7735.cpp.
#define MADCTL_MH 0x04 |
Definition at line 1504 of file TFT_ST7735.cpp.
#define MADCTL_ML 0x10 |
Definition at line 1501 of file TFT_ST7735.cpp.
#define MADCTL_MV 0x20 |
Definition at line 1500 of file TFT_ST7735.cpp.
#define MADCTL_MX 0x40 |
Definition at line 1499 of file TFT_ST7735.cpp.
#define MADCTL_MY 0x80 |
Definition at line 1498 of file TFT_ST7735.cpp.
#define MADCTL_RGB 0x00 |
Definition at line 1502 of file TFT_ST7735.cpp.
#define spi_begin | ( | ) |
Definition at line 191 of file TFT_ST7735.cpp.
#define spi_end | ( | ) |
Definition at line 192 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2309 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2291 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2273 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2257 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2140 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2213 of file TFT_ST7735.cpp.
|
inline |
Definition at line 2183 of file TFT_ST7735.cpp.