I hope that someone can help me determine if this is possible using PBP.

I am getting data from the TSYS01 sensor using I2C, but converting this data to a temperature value requires some math which generates numbers that I do not know how to handle in PBP. I am using an 8 bit PIC18F4620 part. I know how to use longs in PBP, but this goes beyond that I think...

Here is the conversion taken from the data sheet (also attached). The data sheet also has an example.

The k0 - k4 values can be up to 65535, and the ADC16 value could be up to 65535 as well.

I appreciate any help finding a way to do this with PBP, thanks!

Nathan Perry

I am getting data from the TSYS01 sensor using I2C, but converting this data to a temperature value requires some math which generates numbers that I do not know how to handle in PBP. I am using an 8 bit PIC18F4620 part. I know how to use longs in PBP, but this goes beyond that I think...

Here is the conversion taken from the data sheet (also attached). The data sheet also has an example.

The k0 - k4 values can be up to 65535, and the ADC16 value could be up to 65535 as well.

I appreciate any help finding a way to do this with PBP, thanks!

Nathan Perry

## Comment