mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 10:05:56 +01:00
GitBook: [master] 2 pages modified
This commit is contained in:
committed by
gitbook-bot
parent
d15ade90c6
commit
4c46261692
@@ -66,6 +66,14 @@ bluetooth = Bluetooth()
|
||||
|
||||
Initialises and enables the Bluetooth radio in BLE mode.
|
||||
|
||||
{% hint style="info" %}
|
||||
To use an external antenna, set `P12 as output pin.`
|
||||
|
||||
```python
|
||||
Pin('P12', mode=Pin.OUT)(True)
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
### bluetooth.deinit\(\)
|
||||
|
||||
Disables the Bluetooth radio.
|
||||
|
||||
@@ -76,6 +76,14 @@ or
|
||||
wlan.init(mode=WLAN.STA)
|
||||
```
|
||||
|
||||
{% hint style="info" %}
|
||||
To use an external antenna, set `P12 as output pin.`
|
||||
|
||||
```python
|
||||
Pin('P12', mode=Pin.OUT)(True)
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
#### wlan.deinit\(\)
|
||||
|
||||
Disables the WiFi radio.
|
||||
@@ -144,6 +152,14 @@ Get or set the channel \(only applicable in AP mode\).
|
||||
|
||||
Get or set the antenna type \(external or internal\).
|
||||
|
||||
{% hint style="info" %}
|
||||
To use an external antenna, set `P12 as output pin.`
|
||||
|
||||
```python
|
||||
Pin('P12', mode=Pin.OUT)(True)
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
#### wlan.mac\(\)
|
||||
|
||||
Get a 6-byte long `bytes` object with the WiFI MAC address.
|
||||
|
||||
Reference in New Issue
Block a user