thanks man im just going through now , a good 90% of your offsets look the same as what im reading in the data sheet so im about to move it over to arduino and start updateing the them , ive never done anything like this before so im very unsure what need to change in your code for it to run as a arduino lib nor have i make a lib before so lm going to try but would it be ok if i come back and post how im going

i think most of it should run without change but maybe the pin setup and stuff might have to change
in anycase thanks for your help its been great