Skip to content

Commit 64528f5

Browse files
committed
Minor comment edits
1 parent f6c3e5e commit 64528f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/gpio/esp32spi_gpio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def esp_init_pin_modes(din, dout):
2828
esp.set_pin_mode(din, 0x0)
2929

3030
# ESP32 Digital Output (no output on pins 34-39)
31-
esp.set_pin_mode(dout, 0x1) # Red LED on ESP32 Feather and ESP32 Breakout
31+
esp.set_pin_mode(dout, 0x1)
3232

3333
def esp_status_text(n):
3434
text = 'WL_UNDEFINED'
@@ -54,7 +54,7 @@ def esp_status_text(n):
5454
M4_A_R_PIN = pulseio.PulseIn(board.A0, maxlen=64) # PWM read from ESP_A_W_PIN
5555
M4_A_R_PIN.pause()
5656

57-
# ESP32 R/W Pin assignments
57+
# ESP32 R/W Pin assignments & connections
5858
ESP_D_R_PIN = 12 # digital read from M4_D_W_PIN
5959
ESP_D_W_PIN = 13 # digital write to Red LED on Feather ESP32 and ESP32 Breakout
6060
# ESP32 Analog Input using ADC1

examples/gpio/gpio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ As of NINA firmware version 1.5.0, the ESP32SPI library can be used to read digi
3131
# Adafruit ESP32 Airlift Bitsy Add-On†
3232
# G, R, B
3333
34-
# Avialable ESP32SPI Digital Inputs with NINA FW >= 1.5.0
34+
# Avialable ESP32SPI Digital Inputs with NINA FW >= 1.5.0
3535
#
3636
# Adafruit ESP32 Breakout
3737
# *, 2, 4, 12, R, 15, 16, 17, 19, 21, 22, 25, 26, 27, 32, 34, 35, 36, 39
@@ -79,7 +79,7 @@ The Airlift Breakout has level-shifting on RX and GPIO0, so those could be digit
7979

8080
The Airlift FeatherWing and Bitsy Add-On have no level-shifting since they're designed to be stacked onto their associated M4 microcontrollers, so theoretically RX, TX, and GPIO0 could be used as digital inputs, or as digital or analog (PWM) outputs. It's hard to find a use case for doing this when stacked since RX, TX, and GPIO0 will be connected to M4 GPIO pins.
8181

82-
The Airlift [Metro / Arduino] Shield has level-shifting on RX and GPIO0, with stacking issues similar to the wings.
82+
The Airlift [Metro / Arduino] Shield has level-shifting on RX and GPIO0, with stacking issues similar to the FeatherWings.
8383

8484
The RX, TX, and GPIO0 pins are used for updating the NINA firmware, and have specific behaviors immediately following reboot that need to be considered if reusing them as GPIO. On the Airlift FeatherWing and Bitsy Add-On, there are pads that need to be soldered to connect the pins. NINA does output messages to TX when connected, depending on the esp debug level set.
8585

0 commit comments

Comments
 (0)