Skip to content

Instantly share code, notes, and snippets.

@phillowcompiler
phillowcompiler / main_LongduinoSPISample.cpp
Last active December 2, 2019 13:45
Longduino SPI example(LCD)
#include <Arduino.h>
#include <SPI.h>
// LCD Pin
#define TFT_CS PB2
#define TFT_RS PB0
#define TFT_RES PB1
#define TFT_SDA PA7 // MOSI
#define TFT_SCL PA5 // SCLK