RSI-PI/examples/example_01_start_stop.py
2025-04-27 02:03:42 +01:00

12 lines
190 B
Python

from RSIPI import rsi_api
rsi = rsi_api.RSIAPI()
rsi.start_rsi()
print("RSI connection started. Press Enter to stop.")
input()
rsi.stop_rsi()
print("RSI connection stopped.")