import os
serfd = os.open( ‘/com/0’, os.O_RDWR |os.O_NONBLOCK)
data = os.read(serfd, 64)
print data
When I run my python program with the code above on the digi connect wi-sp I get the following error:
OS Error: [Errrno 16] Device or resource busy: ‘/com/0’
I tried using com/1 and com/2 but it says no such device.
How can I read serial data from the digi connect wi-sp?