Hi there.
CHIP = 28X2
I have a uALFAT filesystem module connected to the hardware serial port, and when you query the media stats, it responds with two 32-bit HEX words. The first word is the media size, and the 2nd word is the available space left.
So, I get a response like this:
$000040000 $0003C000
Most people, myself included, cannot work this out as decimal without a calculator, so is there any code I can run in the PICAXE that will convert these kinds of responses for me, then I can just call a routine to have the conversion into decimal.
CHIP = 28X2
I have a uALFAT filesystem module connected to the hardware serial port, and when you query the media stats, it responds with two 32-bit HEX words. The first word is the media size, and the 2nd word is the available space left.
So, I get a response like this:
$000040000 $0003C000
Most people, myself included, cannot work this out as decimal without a calculator, so is there any code I can run in the PICAXE that will convert these kinds of responses for me, then I can just call a routine to have the conversion into decimal.