You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To the tab, add some buttons that when pressed, will print something to the terminal (as a quick check that it's working).
Once that works, you can send data out the UART by passing a handle to serial_TxQ to the initialize() function of your tab's class. The serial transmit queue is a Deque, so refer to the Python docs for how to add items to it. Only a string representation of the actual command is needed, so pass 'get epoch' to the queue when the button is pressed.
UARTTab.py has an example of how to use a button.
The text was updated successfully, but these errors were encountered:
This tab will have several buttons for commonly used commands.
Commands to add:
OBC command
- Labelwd reset
- OBC Hard Resetwd f_reset
- OBC Reset and Eraseget epoch
- Get EpochAck
- Acknowledgeserial_TxQ
to theinitialize()
function of your tab's class. The serial transmit queue is a Deque, so refer to the Python docs for how to add items to it. Only a string representation of the actual command is needed, so pass 'get epoch' to the queue when the button is pressed.UARTTab.py has an example of how to use a button.
The text was updated successfully, but these errors were encountered: