Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 56189

I²C stands for Inter-Integrated circuit, and is a data transferation system that allows connections between computers or microcontrollers and low-level peripherals (e.g. sensors or EEPROMS). It is a multi-master, multi-slave, single-ended, serial computer bus.

4 votes

Meaning of cmd param in write_i2c_block_data

The register byte (e.g., 0 or any other byte like for instance 48) is the first byte written to the I2C bus from the Pi; it is always sent as a "write" request. … has a list of bytes in its third parameter); the Wire.onRequest callback should instead include a Wire.write() function, to write data to I2C. …
deltatango's user avatar
0 votes

I2C problem sending from Pi to Arduino

I'm like to understand what you meant by "cutting out" I've found that the occasional I2C I/O error is fairly common when communicating between an Rpi and Arduino. … For example, parse the I2C byte read before sending the value to a servo so you don't drive the servo to an erroneous position on bus error. …
deltatango's user avatar
0 votes

How to disable I2C pins in Raspberry Pi 3 (jessie)

As long as your /boot/config.txt contains the lines: dtparam=i2c_arm=off dtparam=i2s=off then you will have "normal" GPIO on those pins.
deltatango's user avatar