I'm new to raspberry pi, and I have a raspberry pi 4. I'm trying to read gps data from RX-TX pins, but it prints nothing. I'm using: sudo cat /dev/ttyAMA0
This command should print the data coming from the GPS module, but it prints nothing. I've searched trough all youtube and web for tutorials and solutions but found nothing. Everyone using pi 3.
People are changing the cmdline.txt from original to: dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-console
I tried both with the original file and with this lines replaced, nothing happened.
I have enabled the UART from config. The GPS module is "Ublox Neo 7M"
Thanks.