Error Correction

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey Freaks,

Does anyone have a good algorithm (in C) to do a majority vote type error correction with a sample of 5 bytes?

eg.

0x07
0x0F
0x0E
0x1E
0x16

=> 0x0E

Thanks
Dave.