implicit declaration of function 'PBout' is invalid in C99 [-Wimplicit-function-declaration]
时间: 2023-07-17 10:55:50 浏览: 155
The warning message "implicit declaration of function 'PBout' is invalid in C99" indicates that the function 'PBout' is being used without a proper declaration or definition in the code.
To resolve this issue, you need to ensure that the function 'PBout' is declared or defined before it is used. You can do this by including the appropriate header file that contains the declaration or definition of 'PBout'. If the function is not part of any external library or header file, you need to provide a declaration or definition for 'PBout' in your code.
Here's an example of how you can declare the 'PBout' function before using it:
```c
// Function declaration
void PBout(int pin);
int main() {
// Function call
PBout(9);
// Rest of the code
return 0;
}
// Function definition
void PBout(int pin) {
// Implement the functionality of PBout here
}
```
Make sure to replace the function declaration and definition with the appropriate implementation for your specific use case.