this programm works in windows 10 but when i try it in Ubuntu, it shows Errors. I thought it\'s due to \'\' serport = \'COM3\' \'\'but when i replace it with \'/dev/ttyS0\' it s