Controllers lite tutorial3/4/2023 ![]() A popup menu appears with multiple IO options. Note that by default two GPIO definitions, 'gpio1' and 'gpio2', are predefined.Īt the bottom of the IO Definitions section, click the '+' button.Examples of such functions are tx_gpio_pin_get(), tx_gpio_pin_set() for getting and setting a general-purpose IO pin, tx_delay_millis() for introducing delays in the program, and tx_adc_read() to read the value from an analog-to-digital converter.Ĭlick on the Application component to select it, and in the Properties panel, locate the IO Definitions section. After setting up these definitions, C API functions are provided that can be called from the external application to communicate with Studio Technix. ![]() This is achieved by defining a set of IO Definitions in the Properties panel of the Application component. To exchange data between the application and the simulation model in Studio Technix, a so called simulation interface must be set up. In this case the external application will be a program written in C-code that contains the logic to control the lights of the intersection. ![]() The purpose of the Application component is to couple an external application to a simulation model in Studio Technix.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |