GitBook: [master] 2 pages modified

This commit is contained in:
Daniel Spindelbauer
2018-11-02 13:08:37 +00:00
committed by gitbook-bot
parent d15ade90c6
commit 4c46261692
2 changed files with 24 additions and 0 deletions

View File

@@ -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.

View File

@@ -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.