18 March 2010

Using Arduino software - user-defined functions (2)

And here it is - passing PARAMETERS to a FUNCTION.


Example

To "call" our simple multiply function, we pass it parameters of the datatype that it is expecting:

This is taken directly from the tutorial called 'Arduino - FunctionDeclaration'


No comments:

Post a Comment