This Python script sets the time and date on Icom radios connected to the computer.
- Python 3.x
- pySerial library
-
Clone the repository:
git clone https://github.com/parttimelegend/icom-radio-time-and-date-setter.git
-
Navigate to the project directory:
cd icom-radio-time-and-date-setter
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python main.py
The script will detect any connected Icom radios and set the time and date on each one.
main.py
: The main script that detects Icom radios and sets the time and date.radio_controller.py
: Defines theRadioController
class responsible for communicating with the radio over the serial port.time_date_setter.py
: Defines theTimeDateSetter
class responsible for setting the time and date on the radio.radio_factory.py
: Defines theRadioFactory
class responsible for creating instances of theRadioController
.time_date_setter_factory.py
: Defines theTimeDateSetterFactory
class responsible for creating instances of theTimeDateSetter
.detect_icom_radio.py
: Defines thedetect_icom_radio
function to detect connected Icom radios using thepyserial
library.
Contributions are welcome! If you find any issues or want to add new features, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.