Experienced programmers will note that both functions could be blink because the compiler will differentiate them by the type of values used for the parameter. This behavior is called function overloading. The Ar- duino print discussed in Recipe 4.2 is a common example. Another example of overloading is in the discussion of Recipe 4.6.That version checks to see if the value of count is 0. If not, it blinks the LED and then reduces the value of count by one. This will be repeated until count is no longer greater than 0.
đang được dịch, vui lòng đợi..
