Basically copying @haoran 's developments from here: !288 , adding functionality to measure resistance.
Lock has been fixed.