not declared in scope

I've had issues in the past and now doing this project as to why it says not declared. the color swipe always gets highlighted on this issue why?

IGCSE_BOT_proto.ino (6.28 KB)

Readers here are reluctant to open unknown files. Read the information by Nick Gammon on how to use code tags for posting source code here. There is another post titled Useful Links, and in that is one on C++ Programming titled Scope. Read that and see if it helps answer your question.

SoftwareSerial BT(0, 1);That's just perverse

(deleted)

You're very kind, thank you! May I ask how do you know which bracket is causing the issue? If it's a stupid question thanks for taking the time to edit my program.

(deleted)