2020-12-01, 12:22 AM
normally /dev/ttyAMA0 is in user tty or serial or something like that
check with "ls -l /dev/ttyAMA0" and also see if the user pi is in that group with "groups" You may want to add the user pi to the group.
check with "ls -l /dev/ttyAMA0" and also see if the user pi is in that group with "groups" You may want to add the user pi to the group.