pinout.vvzero.com/src/fr-FR/pin/pin-5.md

12 lines
218 B
Markdown
Raw Normal View History

SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
```python
require 'wiringpi2'
HIGH = 1
LOW = 0
OUTPUT = 1
INPUT = 0
io = WiringPi::GPIO.new
io.pin_mode(9,OUTPUT)
io.digital_write(9,HIGH)
```