Add DIGIO commands to profile language #39
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add commands to profile language to support the GPIO Pins on the external connector.
Add the following functions:
digio_conf <digio-pin> <type>
: Configure the I/O functiondigio_set <digio-pin> <state>
: Set an output port. This has no effect on input ports.digio_wait <digio-pin> <state>
Wait for an input to reach a specified value. For output ports, this command is ignored.If a invalid digio port is specified, the command does nothing.
type:
0
Input1
Output0x80
: AF0 to0x87
: AF7Make sure the default configuration is restored after the profile has finished.