Here is the calculator firmware calculator - you will need to compile it with MPLAB XC8 C compiler.

Read more »