Question: part 2 and 3. Code for a seven segment display either in C or assembly format for C format for assembly 1. Draw your hardware

part 2 and 3. Code for a seven segment display either in C or assembly

part 2 and 3. Code for a seven segment display either in

format for C

C or assembly format for C format for assembly 1. Draw your

format for assembly

hardware interface (including all pin connections, pin numbers, and resistors with values)

1. Draw your hardware interface (including all pin connections, pin numbers, and resistors with values) showing how the SWITCHes will interface with your MCU and how the SEVEN SEGMENT DISPLAY will interface with the MCU. 2. Develop a two column table showing the mapping from BCD to SEVEN SEGMENT One column of your table should have the HEX values 0 to F. The other column should have the value to output to PORT D so as to display the value 0- F correctly Develop software in either C or assembly language Template for C File with Config Information *Lab xx ELEC 310 * Your Name Here * Created on mm/yy/dd /Include statements specify library files to include/ #include #include /*#pragma statements are used in C to setup the individual processor*/ #pragma config OSC INT102 #pragma config WDT -OFF #pragma config LVP = OFF #pragma config BOR -OFF #pragma config CPB OFF //on or off ok #pragma config MC LRE OFF //on or off ok #pragma config CPO = OFF // on or off ok #pragma config WRTO OFF // on or off ok #pragma config WRTC OFF // on or off ok #pragma config EBTRO 0FF // on or off ok #pragma config EBTRB OFF // on or off ok Template for Assembly Program with Config Lab xx ELEC 310 2019 Your Name Date Include library file INCLUDE Configure the PIC18F4321 processor CONFIG OSC = INT102 CONFIG WDT = OFF CONFIG LVPOFF CONFIG BOR = OFF Set start address for the code ORG 0xo; Describe what the code will do and how it will do it. Place your code below this line and comment each line and place headers describing each section of code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!