The code is not complete. Please post all your code. Or come to understand why your code will not work under the Arduino IDE without setup() and loop() functions, as per the error message.
The code is not complete. Please post all your code. Or come to understand why your code will not work under the Arduino IDE without setup() and loop() functions, as per the error message.