changes from bringing up PPR

This commit is contained in:
geeksville
2020-06-05 11:00:18 -07:00
parent 96594516af
commit 4b5cfaf9ba
4 changed files with 18 additions and 4 deletions

View File

@@ -33,4 +33,18 @@ class UC1701Spi : public OLEDDisplay
void display(void) {}
private:
};
};
#include "variant.h"
#include <UC1701.h>
static UC1701 lcd(PIN_SPI_SCK, PIN_SPI_MOSI, ERC12864_CS, ERC12864_CD);
void testLCD() {
// PCD8544-compatible displays may have a different resolution...
lcd.begin();
// Write a piece of text on the first line...
lcd.setCursor(0, 0);
lcd.print("Hello, World!");
}