Hi
I would like to build connection of receiver Graupner hott with SUMD mode
SUMD the protocol is a serial link at 115200 bps
- 2 bytes starting : A8 01
- 1 byte number of channels ex: 08
- 2 bytes * 8 channels = value ...
- 2 bytes CRC-CCITT Xmodem
example: A8 01 08 22 60 2E D8 2E D8 2E D8 2E E0 2E E0 2E E0 2E E0 6B E7
I think I will copy and modify the SBUS implémantation already done.
Questions :
- To calculate the CRC, it's best to use
- less memory and more CPU
- less CPU and more memory ( 512 Bytes )
- how to display somme debug value : debug_printf("Mission leg loaded no#: %x\n", leg); ?
- Some recommendations?
fred