I understand that it is determining altitude but what does the part of the code within brackets actually do? At first I thought that it was some mathematical function, such as +,-,* etc but I cannot figure it out??
Any help for my befuddled newbie brain would be greatly appreciated, thanks :-[
This is a prototype for the altitude function. It doesn't do anything other than tell the compiler that somewhere in your code you are going to be defining a function with this signature.
You may not be used to seeing function prototypes because the Arduino IDE automatically generates them for all functions in a .ino sketch file.