From 9344c3b7433df011b3aed476c2a434cdf1eb1ff1 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 1 Oct 2023 16:24:42 +0200 Subject: [PATCH] boards/All: Rename LED pins more consistently. --- .../Nicla-Vision/00-Board-Control/vsync_gpio_output.py | 2 +- .../Portenta-H7/00-Board-Control/vsync_gpio_output.py | 2 +- src/micropython | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py index 2512675ef..8d257ff94 100644 --- a/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/vsync_gpio_output.py @@ -11,7 +11,7 @@ sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE) sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320x240) # This pin will be toggled on/off on VSYNC rising and falling edges. -led_pin = Pin("LEDB", Pin.OUT_PP, Pin.PULL_NONE) +led_pin = Pin("LED_BLUE", Pin.OUT_PP, Pin.PULL_NONE) sensor.set_vsync_callback(lambda state, led=led_pin: led_pin.value(state)) clock = time.clock() # Create a clock object to track the FPS. diff --git a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py index e2c656b4f..553fc9588 100644 --- a/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/10-Arduino-Boards/Portenta-H7/00-Board-Control/vsync_gpio_output.py @@ -11,7 +11,7 @@ sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCA sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320x240) # This pin will be toggled on/off on VSYNC rising and falling edges. -led_pin = Pin("LEDB", Pin.OUT_PP, Pin.PULL_NONE) +led_pin = Pin("LED_BLUE", Pin.OUT_PP, Pin.PULL_NONE) sensor.set_vsync_callback(lambda state, led=led_pin: led_pin.value(state)) clock = time.clock() # Create a clock object to track the FPS. diff --git a/src/micropython b/src/micropython index 94bfd057f..9bb54b2ba 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit 94bfd057f7b1cce2cda22dde5b85c1b950757d81 +Subproject commit 9bb54b2ba0b2eb8dd3ad093e2d95c8004f1e88ac