1.

How many arguments does the shiftOut() function require?(a) 1(b) 2(c) 3(d) 4I had been asked this question in an interview for internship.Question is taken from Advanced Input Output in section Arduino Programming of Arduino

Answer»

Right option is (d) 4

The best explanation: The shiftOut() FUNCTION requires 4 arguments; the PIN number to which the bit of DATA is to be sent, the toggle-pin which is to be turned HIGH or LOW once the data is done transferring, the order in which the bits are to be read (MSBFIRST or LSBFIRST), and the actual data who’s bits are to be shifted out.



Discussion

No Comment Found

Related InterviewSolutions