Skip to content

Instantly share code, notes, and snippets.

View willwade's full-sized 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 / AACAppsLoggingDetails.md
Last active May 12, 2021 15:32
Phrase Historys in AAC Apps
@willwade
willwade / code.py
Last active January 25, 2021 11:13
Presses Home keys, then types predictable. Useful for disabled people waking up a iPad. This is in circuitPython.
"""
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
فوری الفاظ
مدد
رکو
دم گھٹ رہا ہے۔ سکشن کی ضرورت ہے۔
مزید
کم
چیٹ
آپ کیسے ہو؟
تم کیا کرتے رہے ہو؟
شکریہ
@willwade
willwade / SwitchBoxes.md
Last active August 11, 2020 14:52
Switch Boxes
Switch box Switch number Connection Key press supported Accept options
@willwade
willwade / table.md
Last active June 5, 2020 12:13
mnemonic table
@willwade
willwade / scrolling-text.ino
Created June 1, 2020 14:46
Arduino code for scrolling text on a OLED feathering
#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 11:11
Send Volume Up. Warning: Not tested. No idea if even compiles.
#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
@willwade
willwade / Tree.md
Created April 17, 2020 21:53
DazPascoTree

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

@willwade
willwade / KillGazeSelection-WithAdmin.bat
Created February 14, 2020 14:12
Kill Windows Control 2
@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 )
@willwade
willwade / file.txt
Created January 22, 2020 10:22
4 level deep
Conversations
Ask something?
Extras
I don't know
A word like
Something else
I don't care
About Me
My name is
I live