Skip to content

Instantly share code, notes, and snippets.

Avatar
🌏
Working on dasher and a lot of Ace hardware projects

will wade willwade

🌏
Working on dasher and a lot of Ace hardware projects
View GitHub Profile
@willwade
willwade / code.py
Last active Jan 25, 2021
Presses Home keys, then types predictable. Useful for disabled people waking up a iPad. This is in circuitPython.
View code.py
"""
Whatever state the iPad is in this code will wake the device up
Attach a button to Feather nRF52840. Set the pin on line 21.
WARNING 1: DO NOT HAVE A PASSCODE FOR IPAD!
WARNING 2: NOT FULLY TESTED. Dare say there are some use cases where this will go wrong. Like if iPad doesnt wake up quick enough
WARNING 3: Feel free to adapt line 59 to the app of your choosing BUT if the app isnt on the device it wont work.
"""
import time
import board
from digitalio import DigitalInOut, Direction, Pull
View urdu-adult-starter.txt
فوری الفاظ
مدد
رکو
دم گھٹ رہا ہے۔ سکشن کی ضرورت ہے۔
مزید
کم
چیٹ
آپ کیسے ہو؟
تم کیا کرتے رہے ہو؟
شکریہ
View SwitchBoxes.md
Switch box Switch number Connection Key press supported Accept options
View blink-cv-detection.md
@willwade
willwade / table.md
Last active Jun 5, 2020
mnemonic table
View table.md
@willwade
willwade / scrolling-text.ino
Created Jun 1, 2020
Arduino code for scrolling text on a OLED feathering
View scrolling-text.ino
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_DC 11
#define OLED_CS 12
#define OLED_CLK 10
#define OLED_MOSI 9
#define OLED_RESET 13
Adafruit_SSD1306 display(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);
@willwade
willwade / volumeUp.ino
Created May 6, 2020
Send Volume Up. Warning: Not tested. No idea if even compiles.
View volumeUp.ino
#Switch ground to CPB GND
#Switch button to CPB A1
from adafruit_hid.consumer_control import ConsumerControl
from adafruit_hid.consumer_control import ConsumerControl
from adafruit_hid.consumer_control_code import ConsumerControlCode
import adafruit_ble
from adafruit_ble.advertising.standard import ProvideServicesAdvertisement
View Tree.md

Quick Words Help Stop More Less Chat How are you? What have you been doing? Thank You Let me sleep now

View KillGazeSelection-WithAdmin.bat
@echo off
:: BatchGotAdmin
:-------------------------------------
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
View file.txt
Conversations
Ask something?
Extras
I don't know
A word like
Something else
I don't care
About Me
My name is
I live