title: Raspberry Pi 3 with wirpingpi - uart doesnt work
body: <p>I want to communicate RPI3 with atmega8 via uart. In atmega I set 9600 baud rate, 8bits, no parity bit and one stop bit. I my rpi I'm using WiringPi library and this is my code:</p>
  
  <pre><code>  int fd;
  
    if ((fd = serialOpen ("/dev/ttyAMA0", 9600)) &lt; 0)
    {
      cout &lt;&lt; "Error";
      return 1 ;
    }
  
    if (wiringPiSetup () == -1)
    {
      cout &lt;&lt; "Error";
      return 1 ;
    }
  
    serialPutchar (fd, 50) ;
  </code></pre>
  
  <p>But .. I atmega I don't receive this '50'. Maybe should I configure connection in termios ? Any Idea ?</p>