ucglib_xmega_hal
4.0
Xmega Hardware Abstraction Layer for Ucglib
|
Test file for Xmega Hardware Abstraction Layer Library for ucglib from Oli Kraus for graphical color displays. More...
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "clock.h"
#include "ucg.h"
#include "ucglib_xmega.h"
Functions | |
int | main (void) |
Main function to demonstrate the usage of ucglib_xmega library. | |
Variables | |
pin_t | connectArraySPI [] |
connectArraySPI contains the non-SPI connections with display More... | |
ucg_t | ucg |
ucg is a necessary global structure for ucg_lib | |
Test file for Xmega Hardware Abstraction Layer Library for ucglib from Oli Kraus for graphical color displays.
Basis example how to use ucglib_xmega library from Wim Dolman See for more info: https://dolman-wim.nl/xmega/libraries/index.php
This examples uses 1.8 inch TFT LCD Module and must be connected this way:
* Display Xmega * VCC 3V3 * GND GND * CS D4 (SS) * RESET D3 * A0 (DC or CD) D2 * SDA D5 (MOSI) * SCK D7 (SCK) * LED (BLK) connected to 3V3/5V * D6 (MISO) not connected *
pin_t connectArraySPI[] |
connectArraySPI contains the non-SPI connections with display