Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started