Create a checksum for serial communication

I want to transmit a frame containing 10 floats and 2 doubles to a target processor. The serialSend block seems to be the one to use. How do i create a checksum for the data ?

1 Kommentar

One byte checksum or two byte? Are you looking for CRC-16 ?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 2 Apr. 2014

Kommentiert:

am 2 Apr. 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by