Moved sensor detection from constuctor to setup(), would hang Arduino otherwise