Chipdata
A "Chipdata" struct now gets passed to functions instead of a chip id number.