summaryrefslogtreecommitdiff
path: root/source/microcontrollers/olimex-esp32-pro/index.rst
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-10-04 17:23:06 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-10-04 17:23:06 +0200
commit6c0494756ec020e5448bfeff6b65165db1959506 (patch)
treec9c5a4b45df48c6fc3789f01bc15131cf41a8177 /source/microcontrollers/olimex-esp32-pro/index.rst
parent8066bbd9ad03149690f14aa3d58384a274fc41c2 (diff)
I2C on the ESP32-PROHEADmaster
Diffstat (limited to 'source/microcontrollers/olimex-esp32-pro/index.rst')
-rw-r--r--source/microcontrollers/olimex-esp32-pro/index.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/microcontrollers/olimex-esp32-pro/index.rst b/source/microcontrollers/olimex-esp32-pro/index.rst
index 291b109..8c86d7e 100644
--- a/source/microcontrollers/olimex-esp32-pro/index.rst
+++ b/source/microcontrollers/olimex-esp32-pro/index.rst
@@ -39,6 +39,16 @@ These are the settings used:
:Core Debug Level: None
:Erase All Flash Before Sketch Upload: Disabled
+I2C
+---
+
+To use i2c on the marked pins 11 and 12 on EXT2 you need to select the
+I2C port with::
+
+ Wire.setPins(32, 27);
+
+e.g. in the ``setup()``, before starting the i2c communications.
+
Troubleshooting
---------------