| Online Development Notebook > Index > ODN > Raw Device Programming > 0D - StrobeWritesCmd |
Command #0D - StrobeWritesCmd
VERSION 1.34+ of the firmware
Description:
Strobe write of a 1 to 6 byte value to a port. This command uses port A or B for the written byte, as well as a polarity (negative or positive) and a line (A.0 - B.7) to toggle based on the previously executed StrobeWriteCmd or StrobeReadCmd.
Command Format:
| Byte Number | Description |
| 0 | 0Dh: StrobeWritesCmd |
| 1 | Number of Bytes (1-6) |
| 2 | Byte 1 |
| 3 | Byte 2 |
| 4 | Byte 3 |
| 5 | Byte 4 |
| 6 | Byte 5 |
| 7 | Byte 6 |
Command Format Details:
Byte 0 contains the command. Byte 1 is the number of data bytes to write.
Byte 2 through byte 7 are the data bytes.
Response Format:
| Byte Number | Description |
| 0 | 0Dh: StrobeWriteCmd |
| 1 | <not used> |
| 2 | <not used> |
| 3 | <not used> |
| 4 | <not used> |
| 5 | <not used> |
| 6 | <not used> |
| 7 | <not used> |
Response Format Details:
Byte 0 contains the command. Byte 1 through byte 7 are unused.
Example Usage:
Control this command's port for the written byte, polarity and strobe line by using the StrobeWriteCmd or StrobeReadCmd. This command will then use the same selected port, polarity, and strobe line to write up to 6 bytes.
| Hardware: U401 USB Interface U421 USB Interface |
| Programming: USBm DLL Programming Download Files |
| Application Notes: U4x1 Application Notes Misc Applications and Information FAQ |