We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a01f76 commit bebb404Copy full SHA for bebb404
2 files changed
ports/alif/boards/OPENMV_AE3/board.c
@@ -167,6 +167,11 @@ void board_early_init(void) {
167
MICROPY_BOARD_FATAL_ERROR("se_services_select_pll_source");
168
}
169
170
+ // Configure the sensor interrupts inputs.
171
+ mp_hal_pin_input(pin_IMU_INT1);
172
+ mp_hal_pin_input(pin_IMU_INT2);
173
+ mp_hal_pin_input(pin_TOF_I2C_INT);
174
+
175
// Configure the user button as an input (it has an external pull-up).
176
mp_hal_pin_input(pin_SW);
177
ports/alif/boards/OPENMV_AE3/pins.csv
@@ -7,6 +7,11 @@ LED_RED,P0_0
7
LED_GREEN,P6_3
8
LED_BLUE,P6_0
9
10
+# Sensor interrupts
11
+IMU_INT1,P15_4
12
+IMU_INT2,P15_5
13
+TOF_I2C_INT,P15_6
14
15
# User switch
16
SW,P15_7
17
0 commit comments