Skip to content

Instantly share code, notes, and snippets.

View tadeubas's full-sized avatar

Tads tadeubas

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tadeubas on github.
  • I am tadeubas (https://keybase.io/tadeubas) on keybase.
  • I have a public key ASDzzQ61fTpXlCFi16OrOqfcZngtF21CQWN67z_doXnSAwo

To claim this, I am signing this object:

@tadeubas
tadeubas / screensaver.py
Last active September 28, 2023 16:21
Krux screensaver
import lcd
from krux.display import Display
logo = """
██
██
██
██████
██
██ ██
@tadeubas
tadeubas / play_wav.py
Created June 10, 2023 20:16
MaixPy play WAV example for Maix dock
from fpioa_manager import *
from Maix import I2S, GPIO
import audio
########### settings ############
WIFI_EN_PIN = 8
AUDIO_PA_EN_PIN = None # Bit Dock and old MaixGo
# AUDIO_PA_EN_PIN = 32 # Maix Go(version 2.20)
# AUDIO_PA_EN_PIN = 2 # Maixduino
@tadeubas
tadeubas / MaixPy_SD_check.py
Created February 7, 2023 01:15
Square bounces on the LEFT if NO SD card detected, otherwise it bounces on the RIGHT
import image
import lcd
import sensor
import os
import time
from machine import SDCard
lcd.init(freq=15000000)