Skip to content

This Python script sets the time and date on Icom radios connected to the computer.

License

Notifications You must be signed in to change notification settings

PartTimeLegend/icom-radio-time-and-date-setter

Repository files navigation

Icom Radio Time and Date Setter

This Python script sets the time and date on Icom radios connected to the computer.

Prerequisites

  • Python 3.x
  • pySerial library

Usage

  1. Clone the repository:

    git clone https://github.com/parttimelegend/icom-radio-time-and-date-setter.git
  2. Navigate to the project directory:

    cd icom-radio-time-and-date-setter
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the script:

    python main.py

    The script will detect any connected Icom radios and set the time and date on each one.

File Structure

  • main.py: The main script that detects Icom radios and sets the time and date.
  • radio_controller.py: Defines the RadioController class responsible for communicating with the radio over the serial port.
  • time_date_setter.py: Defines the TimeDateSetter class responsible for setting the time and date on the radio.
  • radio_factory.py: Defines the RadioFactory class responsible for creating instances of the RadioController.
  • time_date_setter_factory.py: Defines the TimeDateSetterFactory class responsible for creating instances of the TimeDateSetter.
  • detect_icom_radio.py: Defines the detect_icom_radio function to detect connected Icom radios using the pyserial library.

Contributing

Contributions are welcome! If you find any issues or want to add new features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This Python script sets the time and date on Icom radios connected to the computer.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages