This file contains hidden or 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 board | |
import terminalio | |
import displayio | |
import bitmaptools | |
import math | |
from adafruit_display_text import bitmap_label | |
text_area = bitmap_label.Label(terminalio.FONT, x=25, y=25, text="Hello world") | |
roto_text_area = displayio.Bitmap(100, 100, 2) | |
bitmaptools.rotozoom(roto_text_area, text_area.bitmap, angle=math.pi/4) |
This file contains hidden or 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 board | |
import time | |
import random | |
import binascii | |
SENDER = True # False for RECEIVER | |
RECV_WAIT = 5_000_000_000 | |
This file contains hidden or 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
# Adafruit CircuitPython 9.1.0-beta.2 on 2024-05-15; FeatherS3 with ESP32S3 | |
# Adafruit Airlift FeatherWing w/ NINA 1.7.7 | |
# ESP32SPI v8.3.1 | |
import time | |
import os | |
import board | |
import digitalio | |
import adafruit_connection_manager | |
import adafruit_esp32spi.adafruit_esp32spi_socketpool as socketpool |
This file contains hidden or 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 digitalio | |
import adafruit_connection_manager | |
from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
time.sleep(3) # wait for serial | |
# WIZnet W5500-EVB-Pico |
This file contains hidden or 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 | |
import time | |
import os | |
import traceback | |
import board | |
import busio | |
import digitalio | |
import wifi |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
NewerOlder