======disk_free_space======
WMPRO, WMMINI FW >= 1.55 WMMEGA FW >= 2.0 WM2 FW >= 3.0
Return total space on a drive
====Description====
disk_free_space ( int $drive)
====Parameters====
$drive: 0=sd card, 1=internal flash (M2 only)
====Return Values====
KiloBytes (KB) total for the microSD card (Bytes/1024, rounded to an integer)
====Example====
$dt=disk_total_space(0);
print("The card has ".$dt." KiloBytes total.");
?>
====See Also====
[[disk_total_space()]] - Return free space on microSD card
[[freemem()]] - Return free memory space
[[freestack()]] - Return free stack space
[[nvram_free()]] - Return the number of bytes available in NVRAM