I am trying to measure the motor current from the kits. The only thing I can find out is the 5m resistor is use to measure the current and connected to OP1 and OP2. Is there any code example to do this? I am new to micro-controller and trying to use this micro-controller for my project. Any suggestion is appreciated.

Thank you,