What is the return type for the shiftOut() function?

Lượng Tiger

New member
What is the return type for the shiftOut() function?
A. double
B. null
C. long
D. int
 
Answer: B
Explanation: The shiftOut() function takes a byte of data as input and shifts the data bit by bit out to an output pin by either moving from left to right or vice versa. So, it does provide us an output, however that output is directly updated to the pin, and not sent back as a return value.
 

Tìm kiếm

Back
Top