Link
Link
Thanks for suggestion, I will add this feature in system constants
upg. to new version, you can control generation of constant defs. 
@XieYY135
Hi dragoudin, Yes we support all kinds of standard devices and custom devices, you can build a mini program library, control your custom device in this library, and provide APIs...
steps: [1] write your code in c code editor and compile [2] navigate to "properties" sheet and check "Mini Program Library" [3] then you can view your apis in mini...
you can use C API, please search "python" to filter out 2 python APIs, steps: [1] in panel, associate a button with a system variable [2] in c code editor,...
_(is there a way to change python env used?)_ Yes, just replace "TSMaster\bin\Data\Python\3.8.5\x86" with your python distribution, as currently "3.8.5" is hard coded in TSMaster, maybe changed in the future....