1. A device capable of measuring electrocardiographic signals, the device comprising: a first electrode configured to come into contact with a first portion of a user's body and configured to measure an electrical potential at the first portion of the user's body; a second electrode configured to come into contact with a second portion of the user's body and configured to measure an electrical potential at the second portion of the user's body; and a processor capable of: measuring a potential difference between the first electrode and the second electrode; determining whether the first electrode and second electrode have been inverted based on the measured potential difference between the first electrode and the second electrode, wherein determining whether the first electrode and second electrode have been inverted includes identifying a P-wave, an R-wave, a Q-wave, and an S-wave from the measured potential difference; and compensating the measured potential difference if the first and second electrodes are determined to be inverted.