summaryrefslogtreecommitdiff
path: root/source/microcontrollers/olimex-esp32-pro/index.rst
diff options
context:
space:
mode:
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
---------------