src/eric7/Documentation/Source/eric7.MicroPython.Devices.CircuitPythonDevices.html

branch
eric7
changeset 11270
0e220c26e60e
parent 11265
0fb6d2c26cbf
equal deleted inserted replaced
11269:ce3bcd9df3b3 11270:0e220c26e60e
805 tuple of (bool, str) 805 tuple of (bool, str)
806 </dd> 806 </dd>
807 </dl> 807 </dl>
808 <a NAME="CircuitPythonDevice.connectWifi" ID="CircuitPythonDevice.connectWifi"></a> 808 <a NAME="CircuitPythonDevice.connectWifi" ID="CircuitPythonDevice.connectWifi"></a>
809 <h4>CircuitPythonDevice.connectWifi</h4> 809 <h4>CircuitPythonDevice.connectWifi</h4>
810 <b>connectWifi</b>(<i>ssid, password, hostname</i>) 810 <b>connectWifi</b>(<i>ssid, password, hostname, country=""</i>)
811 <p> 811 <p>
812 Public method to connect a device to a WiFi network. 812 Public method to connect a device to a WiFi network.
813 </p> 813 </p>
814 814
815 <dl> 815 <dl>
823 password needed to connect 823 password needed to connect
824 </dd> 824 </dd>
825 <dt><i>hostname</i> (str)</dt> 825 <dt><i>hostname</i> (str)</dt>
826 <dd> 826 <dd>
827 host name of the device 827 host name of the device
828 </dd>
829 <dt><i>country</i> (str)</dt>
830 <dd>
831 WiFi country code
828 </dd> 832 </dd>
829 </dl> 833 </dl>
830 <dl> 834 <dl>
831 <dt>Return:</dt> 835 <dt>Return:</dt>
832 <dd> 836 <dd>

eric ide

mercurial