cmdCTR_SETIndex

Command Code:

The Packet:

Description:

This command sets the 2-byte value for a counter.  An ID that is out of range will generate an error message.  There is no reply packet.

This BrainStem module has eight 2-byte counters.  Reflexes may use these counters to record events.  A counter generates a raw input when the count reaches zero after a decrement or increment operation.

If the command packet does not have a COUNTH and COUNTL byte, the Stem will send a cmdCTR_SET reply packet with the counter ID and current COUNTH and COUNTL bytes.


version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.