From fddefb670bb3df3472c43d0298fecefcf1b02234 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 2 Jun 2022 21:45:21 +0200 Subject: [PATCH] scripts/examples: Fix VSYNC GPIO LED pin name. --- .../Arduino/Portenta-H7/02-Board-Control/vsync_gpio_output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/examples/Arduino/Portenta-H7/02-Board-Control/vsync_gpio_output.py b/scripts/examples/Arduino/Portenta-H7/02-Board-Control/vsync_gpio_output.py index 4f9c44b83..49314f555 100644 --- a/scripts/examples/Arduino/Portenta-H7/02-Board-Control/vsync_gpio_output.py +++ b/scripts/examples/Arduino/Portenta-H7/02-Board-Control/vsync_gpio_output.py @@ -10,7 +10,7 @@ sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCAL 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('LED_BLUE', Pin.OUT_PP, Pin.PULL_NONE) +led_pin = Pin('LEDB', 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.