Digital TENS therapy device