The subsequent problems deal with the figure below. Assume all outputs are low to begin with unless indicated otherwise.Assuming PORTB.2 is 0 to begin with, what does the following PicBasic code do?Low PORTB.2Pause 100High PORTB.2Pause 100Low PORTB.2

A. blinks LED L1 twice
B. blinks (turns on and off) LED L1 once
C. blinks LED L1 three times
D. turns off LED L1 and leaves it on
E. turns on LED L1 and leaves it on


Answer: B

Trades & Technology

You might also like to view...

Bottles filled by a certain machine are supposed to contain 12 oz of liquid. In fact the fill volume is random with mean 12.01 oz and standard deviation 0.2 oz.

a. What is the probability that the mean volume of a random sample of 144 bottles is less than 12 oz? b. If the population mean fill volume is increased to 12.03 oz, what is the probability that the mean volume of a sample of size 144 will be less than 12 oz?

Trades & Technology

Technician A says that the 3 wires on the TP sensor include a 5-volt reference voltage from PCM, plus the signal wire to PCM, and a ground wire to the engine block. Technician B says that the TP sensor is used by the PCM to determine torque converter engagement and transmission shift points. Which technician is correct?

A) Technician A only B) Technician B only C) Both technicians D) Neither technician

Trades & Technology

Brake bleeding ABS systems are being discussed. Technician A says thatSome manufacturers state that either pressure bleeding or manual bleeding is acceptable for their various ABS installations. Others specify either one method or the other. Technician B says Use only the DOT 3, DOT 4, or synthetic brake fluid specified by the vehicle manufacturer. Who is correct?

A. A only B. B only C. Both A and B D. Neither A nor B

Trades & Technology

The accident/incident theory is an extension of the human factors theory.