Okay, creating a separate member function to do the hardware initialisation fixed it. So is the arduino hardware initialisation only complete once the code has reached the setup() function?
Okay, creating a separate member function to do the hardware initialisation fixed it. So is the arduino hardware initialisation only complete once the code has reached the setup() function?