src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
eric7
changeset 10329
a389b06170d2
parent 10233
51a6649ba79d
child 10330
5ea038882dd6
equal deleted inserted replaced
10328:2f394eb86dd6 10329:a389b06170d2
744 def hasWifi(self): 744 def hasWifi(self):
745 """ 745 """
746 Public method to check the availability of WiFi. 746 Public method to check the availability of WiFi.
747 747
748 @return tuple containing a flag indicating the availability of WiFi 748 @return tuple containing a flag indicating the availability of WiFi
749 and the WiFi type (picow or pimoroni) 749 and the WiFi type (circuitpython)
750 @rtype tuple of (bool, str) 750 @rtype tuple of (bool, str)
751 @exception OSError raised to indicate an issue with the device 751 @exception OSError raised to indicate an issue with the device
752 """ 752 """
753 command = """ 753 command = """
754 def has_wifi(): 754 def has_wifi():

eric ide

mercurial