File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class SH1106Brzo : public OLEDDisplay {
90
90
// holdes true for all values of pos
91
91
if (minBoundY == UINT8_MAX) return ;
92
92
93
- byte k = 0 ;
93
+ uint8_t k = 0 ;
94
94
uint8_t sendBuffer[17 ];
95
95
sendBuffer[0 ] = 0x40 ;
96
96
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ class SH1106Wire : public OLEDDisplay {
54
54
* Create and initialize the Display using Wire library
55
55
*
56
56
* Beware for retro-compatibility default values are provided for all parameters see below.
57
- * Please note that if you don't wan't SD1306Wire to initialize and change frequency speed ot need to
57
+ * Please note that if you don't wan't SD1306Wire to initialize and change frequency speed ot need to
58
58
* ensure -1 value are specified for all 3 parameters. This can be usefull to control TwoWire with multiple
59
59
* device on the same bus.
60
- *
60
+ *
61
61
* @param _address I2C Display address
62
62
* @param _sda I2C SDA pin number, default to -1 to skip Wire begin call
63
63
* @param _scl I2C SCL pin number, default to -1 (only SDA = -1 is considered to skip Wire begin call)
@@ -130,7 +130,7 @@ class SH1106Wire : public OLEDDisplay {
130
130
uint8_t minBoundXp2H = (minBoundX + 2 ) & 0x0F ;
131
131
uint8_t minBoundXp2L = 0x10 | ((minBoundX + 2 ) >> 4 );
132
132
133
- byte k = 0 ;
133
+ uint8_t k = 0 ;
134
134
for (y = minBoundY; y <= maxBoundY; y++) {
135
135
sendCommand (0xB0 + y);
136
136
sendCommand (minBoundXp2H);
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ class SSD1306Brzo : public OLEDDisplay {
101
101
sendCommand (minBoundY);
102
102
sendCommand (maxBoundY);
103
103
104
- byte k = 0 ;
104
+ uint8_t k = 0 ;
105
105
106
106
int buflen = ( this ->width () / 8 ) + 1 ;
107
107
Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ class SSD1306Wire : public OLEDDisplay {
61
61
* Create and initialize the Display using Wire library
62
62
*
63
63
* Beware for retro-compatibility default values are provided for all parameters see below.
64
- * Please note that if you don't wan't SD1306Wire to initialize and change frequency speed ot need to
64
+ * Please note that if you don't wan't SD1306Wire to initialize and change frequency speed ot need to
65
65
* ensure -1 value are specified for all 3 parameters. This can be usefull to control TwoWire with multiple
66
66
* device on the same bus.
67
- *
67
+ *
68
68
* @param _address I2C Display address
69
69
* @param _sda I2C SDA pin number, default to -1 to skip Wire begin call
70
70
* @param _scl I2C SCL pin number, default to -1 (only SDA = -1 is considered to skip Wire begin call)
@@ -142,7 +142,7 @@ class SSD1306Wire : public OLEDDisplay {
142
142
sendCommand (minBoundY);
143
143
sendCommand (maxBoundY);
144
144
145
- byte k = 0 ;
145
+ uint8_t k = 0 ;
146
146
for (y = minBoundY; y <= maxBoundY; y++) {
147
147
for (x = minBoundX; x <= maxBoundX; x++) {
148
148
if (k == 0 ) {
You can’t perform that action at this time.
0 commit comments