Questions tagged [arduino-setup]

16 questions
11
votes
2 answers

Multiple .ino files in the same sketch

Yeah yeah, I know people ask this type of thing a lot, but I couldn't find an answer anywhere. I understand that you can have multiple .ino files in one sketch, but I don't just want functions and variables separated, I want functionality. I am…
Levi Lesches
  • 223
  • 1
  • 2
  • 6
0
votes
2 answers

How to handle an error in setup()

What is the "proper" way to handle an error during setup on an Arduino -- for example some attached component is missing or returning an error code or invalid response? The setup() function returns void so that's no help. This just doesn't seem to…
ThatAintWorking
  • 240
  • 2
  • 9