mirror of
https://github.com/adafruit/Adafruit-BMP085-Library.git
synced 2026-07-28 04:16:25 +00:00
pin usage
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
#include <Wire.h>
|
||||
#include <BMP085.h>
|
||||
|
||||
|
||||
|
||||
// Connect VCC of the BMP085 sensor to 3.3V (NOT 5.0V!)
|
||||
// Connect GND to Ground
|
||||
// Connect SCL to i2c clock - on '168/'328 Arduino Uno/Duemilanove/etc thats Analog 5
|
||||
// Connect SDA to i2c data - on '168/'328 Arduino Uno/Duemilanove/etc thats Analog 4
|
||||
// EOC is not used, it signifies an end of conversion
|
||||
// XCLR is a reset pin, also not used here
|
||||
|
||||
BMP085 bmp;
|
||||
|
||||
void setup() {
|
||||
|
||||
Reference in New Issue
Block a user