We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1821cb9 commit f24a576Copy full SHA for f24a576
variants/arduino_nano_33_ble_nrf52840_sense/variant.cpp
@@ -12,12 +12,8 @@ void initVariant(void) {
12
GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), pin_enable_gpios);
13
if (gpio_is_ready_dt(&enable_sensors)) {
14
gpio_flags_t flags = enable_sensors.dt_flags | GPIO_OUTPUT_HIGH | GPIO_ACTIVE_HIGH | NRF_GPIO_DRIVE_H0H1;
15
- Serial.println((uint32_t)flags, HEX);
16
-
17
gpio_pin_configure(enable_sensors.port, enable_sensors.pin, flags);
18
gpio_pin_set(enable_sensors.port, enable_sensors.pin, HIGH);
19
- //Serial.println("### Sensor pin enabled ###");
20
21
delay(500);
22
}
23
0 commit comments