A Code asset contains the Lua script that will be run by your gadget's CPU. It can be created through the Code Editor in-game, or imported into the assets list.

While you can retrieve a Code asset with the ROM chip, there's currently no methods that use this asset type that way.