We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7311690 commit 8f9403fCopy full SHA for 8f9403f
examples/pyportal_simpletest.py
@@ -5,16 +5,18 @@
5
# NOTE: Make sure you've created your secrets.py file before running this example
6
# https://learn.adafruit.com/adafruit-pyportal/internet-connect#whats-a-secrets-file-17-2
7
import board
8
+from displayio import CIRCUITPYTHON_TERMINAL
9
from adafruit_pyportal import PyPortal
10
11
+
12
# Set a data source URL
13
TEXT_URL = "http://wifitest.adafruit.com/testwifi/index.html"
14
15
# Create the PyPortal object
16
pyportal = PyPortal(url=TEXT_URL, status_neopixel=board.NEOPIXEL)
17
18
# Set display to show REPL
-board.DISPLAY.root_group = None
19
+board.DISPLAY.root_group = CIRCUITPYTHON_TERMINAL
20
21
# Go get that data
22
print("Fetching text from", TEXT_URL)
0 commit comments