How can I setup an RT to respond to mode codes using BusTools/1553-API?
This is a basic example program that sets up a simple RT Simulation. It simulates RT1 with two subaddresses: SA1 RECEIVE and SA2 TRANSMIT.
This is a modification of "Example_rt1.c" that adds assignment of the VECTOR WORD to be transmitted in response to MODE CODE 16.
This example programs the RT to send 0xC0DE as the transmit data word for MODE CODE 16.