{ "info": { "author": "Patrick M. Jensen", "author_email": "patrick.opp@hotmail.com", "bugtrack_url": null, "classifiers": [], "description": "ctp\n==============================================================================\nScript for compiling a protocol file to a binary file which can be uploaded to\nthe component tester's SD card. This was made since hand compiling every\nprotocol quickly gets tedious, and especially for longer protocols it is very\neasy to make errors. Therefore I made a python script to automate the process.\n\n usage: \n ctp2.py [-h | --help] [-o FILE] [-v | --verify] [INFILE | -c | --code]\n\n -h --help show this\n -o FILE specify output file [default: ./out.tst]\n -v --verify show if compilation was successful but make no output file\n -c --code read code from stdin, instead of a file\n\nPROTOCOL SYNTAX\n==============================================================================\nA protocol should be described as a series of commands with arguments.\nEach command must be on a seperate line. Lines beginning with a `#` and lines \nonly consisting of whitespace are skipped. Case (even mixed case liKe tHiS) \ndoes not matter.\n\nProtocols will be run until a `CHECK` command finds that the pin state does \nnot match what was specified. If this happens the component has failed the test.\nIf the protocol is run through without an error then the component has passed\nthe test.\n\nCOMMANDS\n------------------------------------------------------------------------------\n#### VIN\n VIN \nSpecifies that `PINS...` should be used as positive voltage supply.\nValid pin values are: 5, 14, 15, 16. \n\n#### GND\n GND \nSpecifies that `PINS..` should be used as ground.\nValid pin values are: 8, 12.\n\n#### DELAY\n DELAY