Magnetostriction level meter with dsPIC30F3011. This is the PIC programs in MPLABX