From 6c0494756ec020e5448bfeff6b65165db1959506 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 4 Oct 2024 17:23:06 +0200 Subject: I2C on the ESP32-PRO --- source/microcontrollers/olimex-esp32-pro/index.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 --------------- -- cgit v1.2.3