Settings LDCwrite(0x14,0x1002); // FIN_DIVIDER0 = 1, FREF_DIVIDER0 = 2 //settling time LDCwrite(0x10,0x0040); //SETTLECOUNT0 = 64 //reference count LDCwrite(0x08,0x04D6); //RCOUNT0 = 1238 //drive current LDCwrite(0x1E,0x9000); //IDRIVE0 = 18 //ERROR CONFIG LDCwrite(0x19,0xF800); //report all errors in data MSB //CONFIG LDCwrite(0x1A,0x0001 | 0x0000); //(reserved value 0x0001) device active, continuous conversions on Ch 0, internal clock source, Rp override disabled, automatic amplitude correction enabled separation 10 mm, 21400000 counts, drive strength 16 separation 5 mm, 22300000 counts, drive strength 17, resolution = 180000 counts per mm, 320 steps per mm (step of 563 counts) separation 2 mm, 25600000 counts, drive strength 19, resolution = 1100000 counts per mm, 1700 steps per mm (step of 647 counts) separation 1 mm, 30040000 counts, drive strength 22, resolution = 4440000 counts per mm, 5850 steps per mm (step of 759 counts)