EasyManua.ls Logo

Lantronix MatchPort

Lantronix MatchPort
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10 Sample Applications
Linux Software Developers Kit (SDK) User Guide 60
}
config cp2 {
type output
state enable
invert disable
}
config cp3 {
type output
state enable
invert disable
}
config cp4 {
type output
state enable
invert disable
}
group LED {
type output
state enable
bit0 CP1
bit1 CP2
bit2 CP3
bit3 CP4
}
The cpm program can then be invoked to light all four LEDs with the following:
$ cpm -N LED -V 15
The '-N' argument is for specifying the CP group name, and the '-V' argument for specifying which
GPIOs to enable. Below is a high level diagram showing how the CP Manager interfaces with the
GPIO pins.

Table of Contents

Other manuals for Lantronix MatchPort

Related product manuals