Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Choose the correct answer. Q 1 ) How do you initialize a port in C + + for pic 1 6 f 8 7 7

Choose the correct answer.
Q1) How do you initialize a port in C++ for pic16f877a? A) Use UART and SPI registers to initialize the port
B) Use TRIS and port name to initialize the port C) Use ADC and PWM registers to initialize the port
D) Use DDR and PIN registers to initialize the port
Q2) We used crystal with microcontroller to:
A) Improve the performance of microcontroller
B) Increase the efficiency of microcontroller
C) Restart the microcontroller
D) Define the speed of microcontroller
Q3) We used (master clear circuit) with microcontroller to:
A) Improve the performance of microcontroller
B) Increase the efficiency of microcontroller
C) Restart the microcontroller.
D) Define the speed of microcontroller
Q4) The ADC in microcontroller is:
A)10-bit converter
B)8-bit converter
C)13-bit converter
C) TRISB =1;
D) None of the above
D) TRISB =0;
Q5) To set the whole PORTB to output we can write the program statement as:
A) PORTB =1;
B) PORTB =0;
Q6) The statement Lcd_Out(2,1,"PIC");
A) Prints PIC on LCD at current cursor position
B) Prints PIC on LCD at row 2 and column 1
C) Prints a character on LCD at row 2 and column 1
D) Prints a character on LCD at current cursor position
Q7) The statement ADC_Read (0) in mikroC:
A) Writes the value 0 on pin A0
B) Reads the input value of pin A0
C) Reads the input value of pin A0 and coverts it to digital
D) None of the above
Q8) What language is a typical Arduino code based on?
A) Assembly Code
B) Python
C) Java
D) C/C++

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

Students also viewed these Databases questions

Question

Contact is an overused word.

Answered: 1 week ago