Added more info to i2c pins and overlay
This commit is contained in:
parent
5c7963b2d3
commit
f994dbec5d
@ -26,6 +26,8 @@ pin:
|
||||
|
||||
The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega.
|
||||
|
||||
The i2c pins include a fixed 1.8k pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required.
|
||||
|
||||
You can verify the address of connected I2C peripherals with a simple one-liner:
|
||||
|
||||
```bash
|
||||
|
@ -1,6 +1,3 @@
|
||||
SDA is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
||||
SDA (i2c Data) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
||||
|
||||
It's easy to get started writing a digital HIGH or LOW to a GPIO pin, but you've got to remember a few things:
|
||||
|
||||
* Run your script as root
|
||||
* Set your pin's mode to OUTPUT (1)
|
||||
SDA includes a fixed, 1.8k pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired.
|
@ -1 +1,3 @@
|
||||
SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
||||
SCL (i2c Clock) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
||||
|
||||
SCL includes a fixed, 1.8k pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired.
|
Loading…
Reference in New Issue
Block a user