Sending arduino sensor data to database MySQL

Check your curly brackets {}
The first fault is missing close bracket on end of loop() so SendtoDB() is part of loop and cannot be found. Your also missing brackets in the SendDB() procedure.

1 Like