Question: Using C language, and pic32 basys mx3 please answer questions 1 through 3 1.) What GPIO pins are SWO thru SW7 connected to? Are these

Using C language, and pic32 basys mx3 please answer questions 1 through 3
1.) What GPIO pins are SWO thru SW7 connected to? Are these switches digital or analog? Inputs or outputs? How would you set these up using the appropriate TRIS registers? 2.) The Digilent SWT_Init() function calls the SWT_ConfigurePins () function. Copy this function below and then explain what this function does at the register level. What Register bit is the constant tris_SWT_SWTO linked to? Where is this constant defined (i.e. in what file)? 3.) Find the unsigned character array digitSegments [] and copy it below. It has the SSD LED segment definitions for the numbers 0 thru 9 and letters A thru H. Add an element for a blank display (i.e. all segments off) 1.) What GPIO pins are SWO thru SW7 connected to? Are these switches digital or analog? Inputs or outputs? How would you set these up using the appropriate TRIS registers? 2.) The Digilent SWT_Init() function calls the SWT_ConfigurePins () function. Copy this function below and then explain what this function does at the register level. What Register bit is the constant tris_SWT_SWTO linked to? Where is this constant defined (i.e. in what file)? 3.) Find the unsigned character array digitSegments [] and copy it below. It has the SSD LED segment definitions for the numbers 0 thru 9 and letters A thru H. Add an element for a blank display (i.e. all segments off)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
