I recently was doing an experiment where i had a power supply hooked up to a relay. When the relay was triggered (closed), 5v from the power supply was supposed to be read by A0 on the arduino, and then pull up a digital I/O. However, it seems that the Arduino is somehow being powered by the analog input? How is this possible? Is this bad? Did i damage my board? Help!