I'm having a trouble figuring out where do i make a mistake. I've had a little rfid-read project which was developed on Arduino. Recently i have obtained a raspberry-pi and i wanted to port my old project to the new platform.
I'm using the wiringPi library for communication on gpio. The problem that i'm facing right now is that while using UART on RPI i do not receive any data. ("/dev/ttvAMA0").
Could someone explain it to me, how one can read the serial data in RPI? I'm using ID-12 reader in my project which should sent data to TX, but it does not.
[Fixed] I was using wrong baud rate.