I'm stuck with my waveshare hat and it would be cool if you could help me. I would like to obtain the gps location.
I'm a python beginner and tried to use some already written code from this websites:
https://www.waveshare.com/w/upload/4/4a/GSM_GPRS_GNSS_HAT_User_Manual_EN.pdf Throws an error for the sleep function and when I outcommand it, it gives an error
https://www.rhydolabz.com/wiki/?p=18639 Throws an error for the if loop.
https://www.youtube.com/watch?v=A1zmhxcUOxw Works maybe but doesn't receive any signal from gps hat.
Unfortunately, I assume that this code is written in Python2 and it will throw an error while executing it. All my attempts to change that code in a python3 code failed.
Do you have any recommendations for me?
Thank you very much.