Keep the decimal point off when polarity changes

An eight-output controller directly drives a common-anode display. Bits 0 through 6 correspond to segments aa through gg, and bit 7 controls the decimal point. The logical illumination mask for digit 5 with the decimal point off is 0b01101101, where 1 means lit. The hardware output byte instead uses 1 for HIGH and 0 for LOW. With the common anode at the positive supply, which output byte produces the intended display?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Programming the 7-Segment Displays Questions: