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 11name =SparkFun Micro OLED Breakout
2- version =1.2.0 
2+ version =1.2.1 
33author =SparkFun Electronics <techsupport@sparkfun.com>
44maintainer =SparkFun Electronics <sparkfun.com>
55sentence =Library for the <a href =" https://www.sparkfun.com/products/13003" 
Original file line number Diff line number Diff line change @@ -205,12 +205,14 @@ void MicroOLED::begin()
205205	setDrawMode (NORM);
206206	setCursor (0 ,0 );
207207
208- 	pinMode (dcPin, OUTPUT);
209208	pinMode (rstPin, OUTPUT);
210209
211210	//  Set up the selected interface:
212211	if  (interface == MODE_SPI)
212+ 	{
213+ 		pinMode (dcPin, OUTPUT);
213214		spiSetup ();
215+ 	}
214216	else  if  (interface == MODE_I2C)
215217		i2cSetup ();
216218	else  if  (interface == MODE_PARALLEL)
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments