Hey Dominic, any code in particular? I presume you are refering to reading current using the UGN3503? Reading the current once the sensor output is connected to one of the picaxe's ADC inputs is as simple as:
readadc10 inPinNo,w0
where inPinNo is the number of the pin the sensor is connected to and w0 is the register recieving the data. This will put a 10 bit number into w0. With no current flowing you should get a reading around 512 but this will vary somewhat from chip to chip and with the voltage supplied to the sensor. Current in one direction will cause the read value to increase and viceversa. The magnitude of the increase relative to the current increase will also vary from setup to setup depending on the core you use, wether you shape the ends to focus the flux, the position of the sensor, how many turns you use etc. It will however be linear. Often you don't actually require an absolute current measurement and you can leave it at that. If you do require an absolute measure (say to display a current reading) you can run a known current through the sensor and take a reading (use the debug command to display the register contents after performing the readadc10). Say a +10A current gives you a reading of 600, and your no current reading in 512. 600-512=88. 88/10=8.8 counts per Amp. Because the picaxe only supports integer math, you can scale the numbers up to achieve the accuracy you desire. To calculate absolute values you would do something like this:
readadc0 1,w0 'take raw reading
w0=w0-noCurrentValue 'subtract previously determined zero offset (constant)
w0=w0*10 'scale to achieve desired accuracy
w0=w0/scaleValue 'scaleValue is constant previously set to 10x the figure calculated as above
w0 now contains the 10x the Amps measured. You can divide by 10 to get the actual amps but be aware that the divide function only returns the quotient. You would also want to perform some over/underflow checks.
Simple!