RS232_demo demonstrates writing to the RS232 port¶
Sends the last reading of every active measurement on the RS232 port
Formats up the most recent reading of every active measurement. Example output:
BATT: 13.141 TEMP: 29.250
Returns: A human readable string containing the label and value of each measurement Return type: str
This is a very basic example showing how to open an RS232 port, output “Hello World”, and close port. Configure Teraterm on the PC to the appropriate com port with the settings (9600, 8, none, 1, none), and connect to Satlink’s RS232 to view the output.
This RS232 example shows how to output the last value of measurement M1 in CSV format. Example: