Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Pin mapping ESP32 to Wipy2.0/3.0 #132

Closed
Kiogora opened this issue Jan 27, 2018 · 1 comment
Closed

Pin mapping ESP32 to Wipy2.0/3.0 #132

Kiogora opened this issue Jan 27, 2018 · 1 comment

Comments

@Kiogora
Copy link

Kiogora commented Jan 27, 2018

Hi,

I notice the use of antennas(int/ext) controlled by an RF switch connected to pin micropy_hw_antenna_diversity_pin_num=16 in main.c, and I notice it maps transparently to GPIO16 in driver/gpio.h. Do the numerical pin numbers in the source code all map back like this?

What is the use of MICROPY_HW_HB_PIN_NUM and MICROPY_HW_SAFE_PIN_NUM on the Wipy?

@danicampora
Copy link

Hello,

On the WiPy3 the antenna control pin is P12 (GPIO21 of the ESP32):

https://docs.pycom.io/chapter/datasheets/downloads/wipy3-pinout.pdf

Cheers,
Daniel

@Kiogora Kiogora closed this as completed Feb 10, 2018
peter-pycom added a commit that referenced this issue Jun 10, 2020
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this issue May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants