Announcement

Collapse
No announcement yet.

Low Byte Value of a Port

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Low Byte Value of a Port

    I can get the value of the entire port using Value = PortC. How do I just get the value of the low byte (Ports 0 thru 3). I'm trying to read a BCD encoder and get a value 0 thru 15.

  • #2
    Value = PortC&15

    Comment


    • #3
      Thank you

      That worked exactly as I needed.

      Comment

      Working...
      X