File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 1212
1313# Create sensor object, communicating over the board's default I2C bus 
1414i2c  =  board .I2C ()  # uses board.SCL and board.SDA 
15+ # i2c = board.STEMMA_I2C()  # For using the built-in STEMMA QT connector on a microcontroller 
1516bmp280  =  adafruit_bmp280 .Adafruit_BMP280_I2C (i2c )
1617
1718# OR Create sensor object, communicating over the board's default SPI bus 
Original file line number Diff line number Diff line change 1111
1212# Create sensor object, communicating over the board's default I2C bus 
1313i2c  =  board .I2C ()  # uses board.SCL and board.SDA 
14+ # i2c = board.STEMMA_I2C()  # For using the built-in STEMMA QT connector on a microcontroller 
1415bmp280  =  adafruit_bmp280 .Adafruit_BMP280_I2C (i2c )
1516
1617# OR Create sensor object, communicating over the board's default SPI bus 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments