I have working with RTU designe base in PIC16c74. I have to control a valve with a 4-20 ma signal, but I want to implement a digital PID controller, anyone here have a PID code or can explain me how I have to implement. Thanks in advance! Mark Lezama