Software adaption
Example devicetree
The following implements Devicetree nodes are implementing the P140 functionallity for the tca6408 and pca9685 component.
The following devicetree snippet is only an example. The IĀ²C controller depends on your hardware setup.
Bash Script
Ethernet Switch (KSZ9896C)
This code is meant to initializing the board correctly. Because the settings will reset every time you reboot the board, it is necessary to run this script on every start of the board. The script can take some time to show some response, so wait some time and set the script run until it prints āDone!ā in the console.
GPIO Control
This script is made to control specific GPIO Ports which are connected to preset outputs/inputs to check there status or set them to a specific state
All action
Example
PWM Controller (PCA9685)
This script is made to control the PWM Controller, to turn on/off specific/all LEDs on the board
All action
Example
PoE Power Controller (TPS23861)
This script is made to control the PoE Controller on the board. It is possible to set specific ports to on, off or change there mode or turn them off completely
All action
Example
Last updated