This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import os | |
import traceback | |
import board | |
import busio | |
import digitalio | |
import os | |
import adafruit_connection_manager | |
import adafruit_requests | |
from adafruit_esp32spi.adafruit_esp32spi import ESP_SPIcontrol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import os | |
import traceback | |
import board | |
import digitalio | |
import ssl | |
import adafruit_connection_manager | |
import adafruit_requests | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import os | |
import traceback | |
import board | |
import digitalio | |
import ssl | |
import adafruit_connection_manager | |
import adafruit_requests | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import traceback | |
import board | |
import busio | |
import digitalio | |
import adafruit_requests # pre-CM pr post-PR10-CM needed with this code | |
from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
import adafruit_wiznet5k.adafruit_wiznet5k_socketpool as socketpool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import board | |
import digitalio | |
import ssl | |
from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
import adafruit_connection_manager | |
import adafruit_requests | |
time.sleep(3) # wait for serial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 anecdata | |
# | |
# SPDX-License-Identifier: MIT | |
# > service_type and protocol can only occur on one port. Any call after the first will update the entry’s port. | |
# https://docs.circuitpython.org/en/latest/shared-bindings/mdns/index.html#mdns.Server.advertise_service | |
''' | |
1. Start up with web workflow enabled https://docs.circuitpython.org/en/latest/docs/workflows.html#web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 anecdata | |
# | |
# SPDX-License-Identifier: MIT | |
# Multi-TLS-client: Espressif-based Feather MCU + WIZnet Ethernets | |
# CircuitPython: https://github.com/adafruit/circuitpython/pull/8954 | |
# WIZnet library: https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/tree/core-compatible-socket-type-numbers | |
import time | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 anecdata | |
# | |
# SPDX-License-Identifier: MIT | |
# Adafruit CircuitPython 9.0.0-beta.2-21-gc91b20fd96 on 2024-03-05; Adafruit Feather ESP32-S3 TFT with ESP32S3 | |
# https://github.com/adafruit/circuitpython/pull/8954 | |
# https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/tree/core-compatible-socket-type-numbers | |
import time | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#3 no gather, and add a task later | |
import board | |
import digitalio | |
import asyncio | |
import adafruit_ticks | |
led_pins = [board.A0, board.A1, board.A2, board.A3] | |
extra_led_pin = board.D24 | |
async def do_led(pin): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import board | |
import wifi | |
import socketpool | |
import ssl | |
import neopixel | |
import asyncio | |
import adafruit_requests | |
# Choose your own URL adventure... |
NewerOlder