Create a C application using a 16F1823 to strobe the outside LEDs in a seven segment display
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a C application using a 16F1823 to strobe the outside LEDs in a seven segment display to give the illusion of a rotating circle. Use a pushbutton to control the direction of the rotation. Initially the rotation should be clockwise (segment order: a-b-c-d-e-f-a …). Each segment should be displayed for about 100ms. Holding down a pushbutton should reverse the rotation order.
You are programming a PIC16F1823. Port A is to be configured as RA0 – analog input, RA1, RA2, RA3 – digital input, RA4 – analog input, RA5 – digital output, RC0 – digital output, RC1,RC2 – digital input, RC3 analog input, RC4, RC5 – digital output. All digital inputs need pull-up resistors. using matlab ide.
Related Book For
Posted Date: