Hi Jordy.
The formula you link to seems doable in a PIC:
The unknowns here are E0 (which is probably a constant), E, k (another constant) and T. I do not know what E (or E0) represent from the link you sent, but at a guess, E0 would be the reading at pH 7 and E would be the reading at the current pH.
If so, what this formula means is 'pH is the reading (E) minus a bias for your probe (E0) so that pH7 reads zero, then scaled by temperature (k * T)'.
You would have to experiment with known pH values and temperatures to find appropriate values for E0 and k - find the value for E0 first (this can be an integer) by testing with pH 7 then experiment with temperature to find k, which may need to be a floating point, a fixed point or a multiplier-divisor pair.
Edit:
From the link
http://www.all-about-ph.com/ph-temperature.html
An ideal electrode at 25°C will produce 0.0 mV when placed in a solution with a pH of 7.00. But a real electrode will have an actual reading which varies from 0 mV. This variation is called the electrode’s offset error.
So to calculate E0 above, ensure temperature of 25degC, pH of 7 and record the reading on your probe.
I hope this helps (and that the assumptions are right!),
Jonny