File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
name =SparkFun Micro OLED Breakout
2
- version =1.2.0
2
+ version =1.2.1
3
3
author =SparkFun Electronics <techsupport@sparkfun.com>
4
4
maintainer =SparkFun Electronics <sparkfun.com>
5
5
sentence =Library for the <a href =" https://www.sparkfun.com/products/13003" >SparkFun Micro OLED Breakout</a>.
Original file line number Diff line number Diff line change @@ -205,12 +205,14 @@ void MicroOLED::begin()
205
205
setDrawMode (NORM);
206
206
setCursor (0 ,0 );
207
207
208
- pinMode (dcPin, OUTPUT);
209
208
pinMode (rstPin, OUTPUT);
210
209
211
210
// Set up the selected interface:
212
211
if (interface == MODE_SPI)
212
+ {
213
+ pinMode (dcPin, OUTPUT);
213
214
spiSetup ();
215
+ }
214
216
else if (interface == MODE_I2C)
215
217
i2cSetup ();
216
218
else if (interface == MODE_PARALLEL)
You can’t perform that action at this time.
0 commit comments