Are the GPIOs supposed to work with nRF52? #3383
-
Describe your requestHi, Are the GPIOs supposed to work with nRF52? esphome:
name: xiao-nrf52-gpio
friendly_name: XIAO nRF52 GPIO
nrf52:
board: xiao_ble
external_components:
# [nrf52,gpio] add gpio levels for high voltage mode #9858
- source: github://pr#9858
components: [nrf52]
refresh: 1h
binary_sensor:
- platform: gpio
name: "Button"
id: BTN_SW1
pin:
number: P0.03 # D1 / 6
mode:
input: true
pullup: true
inverted: true
on_state_change:
then:
- logger.log:
format: "Old state was %s"
args: ['x_previous.has_value() ? ONOFF(x_previous) : "Unknown"']
- logger.log:
format: "New state is %s"
args: ['x.has_value() ? ONOFF(x) : "Unknown"']Why the uncertainty?Nothing happens in the log when I press SW1 button Use casesXIAO BLE and Expansion Board Base for XIAO to detect pressed button. What areas might this affect?nrf52 Anything else?No response |
Beta Was this translation helpful? Give feedback.
Answered by
lboue
Nov 11, 2025
Replies: 1 comment
-
|
Fixed by this PR: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lboue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed by this PR: