File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change
1
+ # 1 " /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/tmp856663z2"
2
+ #include < Arduino.h>
3
+ # 1 " /Users/brentrubell/Documents/Arduino/libraries/Adafruit_Wippersnapper_Arduino/src/Wippersnapper_demo.ino"
4
+ # 16 " /Users/brentrubell/Documents/Arduino/libraries/Adafruit_Wippersnapper_Arduino/src/Wippersnapper_demo.ino"
5
+ #include " Wippersnapper_Networking.h"
6
+ Wippersnapper_WiFi wipper;
7
+
8
+
9
+ #define WS_DEBUG
10
+ void setup ();
11
+ void loop ();
12
+ #line 22 "/Users/brentrubell/Documents/Arduino/libraries/Adafruit_Wippersnapper_Arduino/src/Wippersnapper_demo.ino"
13
+ void setup () {
14
+
15
+ wipper.provision ();
16
+
17
+ Serial.begin (115200 );
18
+
19
+
20
+ wipper.connect ();
21
+
22
+ }
23
+
24
+ void loop () {
25
+ wipper.run ();
26
+ }
Original file line number Diff line number Diff line change @@ -73,10 +73,13 @@ class dispDrvSt7789 : public dispDrvBase {
73
73
return false ;
74
74
75
75
_display->init (_width, _height);
76
+
76
77
_display->setRotation (_rotation);
77
78
_display->fillScreen (ST77XX_BLACK);
78
79
_display->setTextColor (ST77XX_WHITE);
79
80
_display->setTextSize (_text_sz);
81
+ _display->setCursor (0 , 0 );
82
+ _display->println (" Display Init" );
80
83
return true ;
81
84
}
82
85
Original file line number Diff line number Diff line change @@ -263,11 +263,10 @@ bool DisplayHardware::beginTft(
263
263
_drvDisp = nullptr ;
264
264
}
265
265
266
- // Parse and assign pins
267
266
int16_t rst = -1 , miso = -1 ;
268
- int16_t cs = parsePin (spi_config->pin_dc );
269
- int16_t dc = parsePin (spi_config->pin_rst );
270
- int16_t mosi = parsePin (spi_config->pin_cs );
267
+ int16_t cs = parsePin (spi_config->pin_cs );
268
+ int16_t dc = parsePin (spi_config->pin_dc );
269
+ int16_t mosi = parsePin (spi_config->pin_mosi );
271
270
int16_t sck = parsePin (spi_config->pin_sck );
272
271
273
272
// Optionally parse SRAM CS and BUSY pins
You can’t perform that action at this time.
0 commit comments