From 5ef116520a8b32a679e9da68da63684b5780ae3a Mon Sep 17 00:00:00 2001 From: BnK4e <51700685+BnK4e@users.noreply.github.com> Date: Fri, 14 Jun 2019 12:09:44 +0200 Subject: [PATCH] added missing import statement --- tutorials/all/wlan.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorials/all/wlan.md b/tutorials/all/wlan.md index 211b8c9b..27071960 100644 --- a/tutorials/all/wlan.md +++ b/tutorials/all/wlan.md @@ -32,6 +32,7 @@ When changing the WLAN mode, if following the instructions below, the WLAN conne The WLAN network class always boots in `WLAN.AP` mode; to connect it to an existing network, the WiFi class must be configured as a station: ```python +import machine from network import WLAN wlan = WLAN(mode=WLAN.STA) ```