Skip to content

Instantly share code, notes, and snippets.

View k3a's full-sized avatar

K3A k3a

  • K3A & Ndemic Creations
  • Czech Republic
View GitHub Profile
@k3a
k3a / I2CSerialBridge.ino
Last active May 18, 2025 19:53 — forked from maly/i2cbridge.ino
Serial to I2C bridge for Arduino Uno
// based on https://gist.github.com/maly/3668e069c78b94843812c3140d9fa960
// Read and write I2C protocol (without Bus pirate or other complex tool)
// Ideal for Arduino Pro Micro or Leonardo with USB serial
// Usage:
// 50! : set default address to 0x50
// .1213 : write 0x12 0x13 bytes to default address
// 60.a1 : write 0xa1 to address 0x60
// ?03 : read three bytes from default address