Void blink (void);

sorry for my ignorance but in the attachinterrupt example (particle-doc-reference) the first line is: void blink (void); but what meaning - function does it have?
Best Regards

This means that this function does not take any parameters and also does not return anything.
And since this has no implementation it’s only a forward declaration or function prototype to inform the rest of the code how to call the function before the compiler “sees” the actual implementation.

Grazie @ScruffR I wish you a good sunday

1 Like