# \#i2c

**URL:** https://discourse.julialang.org/tag/i2c/1794.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [\`IOStream\` buffering pitfalls when communicating to a device file](https://discourse.julialang.org/t/iostream-buffering-pitfalls-when-communicating-to-a-device-file/130071)

<div class="topic-metadata">

**Author:** [@Yuan-Ru-Lin](https://discourse.julialang.org/u/Yuan-Ru-Lin)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 9:26pm UTC](https://discourse.julialang.org/t/iostream-buffering-pitfalls-when-communicating-to-a-device-file/130071 "2025-08-04T21:26:32Z")

</div>

I was talking to an ADS1115 ADC over I²C via /dev/i2c-1 on a Raspberry Pi 4. My first attempt was using high-level IOStream APIs like write(io, bytes) and read(io, n), and it worked but only for the first value. Every v…

---

## [\[ANN\] WiringPi.jl Library for GPIO, I2C, SPI, data acquisition](https://discourse.julialang.org/t/ann-wiringpi-jl-library-for-gpio-i2c-spi-data-acquisition/128975)

<div class="topic-metadata">

**Author:** [@stene](https://discourse.julialang.org/u/stene)\
**Replies:** 2\
**Last updated:** [May 13, 2025, 7:18pm UTC](https://discourse.julialang.org/t/ann-wiringpi-jl-library-for-gpio-i2c-spi-data-acquisition/128975 "2025-05-13T19:18:33Z")

</div>

Port of WiringPi to Julia. Code can be found here Julia WiringPi. Supports GPIO, I2C, SPI. More data acquisition examples will be added.
