Questions tagged as 'microcontroladores-8bits'

1
answer

How to Calculate CRC Modbus RTU

I'm trying to calculate a crc modbus in an application for PIC, but the crc returned is always incorrect compared to online simulators .. follow the code void CRC (unsigned char* msg, unsigned char* out) { //char CRC16[2] = {0xFF,0xFF};...
asked by 28.03.2018 / 19:05
1
answer

It is better to use common division or Shift and Sum operations in 8bits microcontrollers

Considering programming for 8bits microcontrollers, we know that even for this microcontrollers, the compilers have reached a unique optimization level and that allows us to program focused only on the quality of the code reading. But when pro...
asked by 09.07.2015 / 19:08