Tuesday, 21 February 2017

Difference tris and port

The PORT register lets you read, or set, an I/O pin's state: logic LOW (0), logic HIGH (1).

The TRIS register lets you set the "direction" of a PORT's pins: input (1), output (0)

No comments:

Post a Comment