17 lines
311 B
Plaintext
17 lines
311 B
Plaintext
/ {
|
|
example_sensor: example-sensor {
|
|
compatible = "zephyr,example-sensor";
|
|
input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
};
|
|
|
|
blink_led: blink-led {
|
|
compatible = "blink-gpio-led";
|
|
led-gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
|
|
blink-period-ms = <1000>;
|
|
};
|
|
};
|
|
|
|
&gpioc {
|
|
status = "okay";
|
|
};
|