fix(examples): translate leftover Spanish to English in gallery code
- examples-robot-desktop: Serial messages, comments and identifiers (right/left servos, light threshold naming, START state) across the embedded .ino and headers - examples-100-days: PULL_DOWN explainer comment in the MicroPython menu day
This commit is contained in:
parent
36c414df8f
commit
5298c7e58c
|
|
@ -1969,11 +1969,11 @@ CITY = "city"
|
|||
i2c = I2C(0, scl=Pin(22), sda=Pin(21))
|
||||
oled = ssd1306.SSD1306_I2C(128, 64, i2c)
|
||||
|
||||
# PULL_DOWN, no Pin.IN a secas: los botones van entre 3V3 y el pin, asi que sin
|
||||
# pull-down el pin queda FLOTANDO cuando el boton esta abierto y pin.value() no
|
||||
# vale nada. En una placa de verdad se lee ruido; aqui el nodo resuelve a 3,3 V y
|
||||
# los dos botones parecen pulsados para siempre, con wait_for_release() girando
|
||||
# en vacio. Es el mismo fallo que en hardware, no un artefacto del emulador.
|
||||
# PULL_DOWN, not plain Pin.IN: the buttons sit between 3V3 and the pin, so
|
||||
# without a pull-down the pin FLOATS while the button is open and pin.value()
|
||||
# is meaningless. On a real board you read noise; here the node resolves to
|
||||
# 3.3 V and both buttons look pressed forever, with wait_for_release()
|
||||
# spinning on nothing. Same failure as on real hardware, not an emulator artifact.
|
||||
touch_next = Pin(14, Pin.IN, Pin.PULL_DOWN)
|
||||
touch_sel = Pin(27, Pin.IN, Pin.PULL_DOWN)
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue