Hamming code generation, error detection & correction.

Warning

⚠️
: Please note that the solution used here is not optimal since this works for 7-bit data only.

Prerequisites:

Installation & setup

  1. Download or clone the repository

git clone https://github.com/farhan2077/hamming-code-lab.git
  1. Move into the dirtectory

cd hamming-code-lab
  1. Run code

python main.py

Extra

You may read reference.docx to better understand how the variables are used in the program.

GitHub

View Github