BuildDigitalWriteRequest(System.Int32,System.Int32) Method

Generates a byte array containing the encoded data that represents a request to write a value to an analog pin.

Parameters

Name Description
portNumber The digital port to write to. Port 0 contains pins 2-7 and port 1 for pins 8-13.
value The value to be written.

Returns

The encoded message.

Exceptions

Remarks

No paramater verification is done to determine if the values are within an acceptable range. This is by design.

Examples

See Also

Last edited Jul 5, 2010 at 5:37 PM by RhyMednick, version 2

Comments

No comments yet.