To edit GPIO pin element values, complete the following steps:
- Open the Peripherals View using the switch at the bottom right corner of the Editor.
- Select a node that can have GPIOs assigned. For example, one of the nodes of the
buttonsorledsdrivers. You can do this from the Peripherals View or from the Nodes View. The Nodes View list is more comprehensive.
The Node Inspector panel is updated. -
In the Node Inspector, open the Pins tab to display the information about the node.
-
Select the desired value for each of the options by clicking the icons next to the pin assignment drop-down menu.
The icons change based on the selected value. - Select the pin control state or add a new one if needed using the Add Pin State button.
- Save your changes either in the editor or in the devicetree file.