Relative Content

Tag Archive for carduinoavratmega32

Added third value in string what has 2 values when send via usart

Program checking PINs level, send it and port name via uart (str[] = {port_name, pin_number})
But when sending a string has length equal 3.
Why and atfter what changing str[2] -> str[3], if string length initialize like str[2] and in code not add values more then 2?