working , removed spi
This commit is contained in:
@@ -12,15 +12,15 @@
|
||||
|
||||
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
// #include <SPI.h>
|
||||
#include <Adafruit_BMP280.h>
|
||||
#include <ESP8266WiFi.h>
|
||||
|
||||
/*
|
||||
#define BMP_SCK (13)
|
||||
#define BMP_MISO (12)
|
||||
#define BMP_MOSI (11)
|
||||
#define BMP_CS (10)
|
||||
|
||||
*/
|
||||
#define HEAD_HEIGHT 18
|
||||
|
||||
#include "DHT.h"
|
||||
@@ -54,23 +54,6 @@ GxIO_Class io(SPI, /*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2); // arbitrary selec
|
||||
GxEPD_Class display(io, /*RST=D4*/ 2, /*BUSY=D0*/ 16); // default selection of D4(=2), D2(=4)
|
||||
|
||||
/*
|
||||
Display config
|
||||
|
||||
----------------------------------
|
||||
| header of 28 pixel height |
|
||||
----------------------------------
|
||||
| widget 0 | widget 1 | widget 2 |
|
||||
| 130x90 | 130x90 | 130x90 |
|
||||
| at 2,30 | at 135,30| at 138,30|
|
||||
----------------------------------
|
||||
| widget 3 | widget 4 | widget 5 |
|
||||
| 130x90 | 130x90 | 130x90 |
|
||||
| at 2,120 | at135,120| at138,120|
|
||||
----------------------------------
|
||||
| widget 6 | widget 7 | widget 8 |
|
||||
| 130x90 | 130x90 | 130x90 |
|
||||
| at 2,210 | at135,210| at138,210|
|
||||
----------------------------------
|
||||
|
||||
TODOS
|
||||
-----
|
||||
|
||||
Reference in New Issue
Block a user