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
/* | |
* Copyright 2023 Code and Make (codeandmake.com) | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
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
// fakeycapsense_demo.ino -- implement a fakey capsense touch sensor using same technique as in CircuitPython | |
// 2 Aug 2022 - @todbot / Tod Kurt | |
/////////////// | |
class FakeyTouch | |
{ | |
public: | |
FakeyTouch( int apin, int athreshold = 200 ) { | |
pin = apin; | |
thold = athreshold; |
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
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.chrome.options import Options | |
import xml.dom.minidom as minidom | |
import pycountry | |
import traceback | |
chrome_options = Options() | |
chrome_options.add_argument("--headless") |
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
//Almost entirelly lifted directly from https://github.com/igrr/esp32-cam-demo | |
//Just clocked a little differently and has chained buffers. | |
//This totes works with the I2S bus on the ESP32 for READING 16 wires simultaneously. | |
//Can be clocked off of I2S's internal controller or an external clock. | |
#define I2S_D0 4 | |
#define I2S_D1 5 | |
#define I2S_D2 18 | |
#define I2S_D3 19 | |
#define I2S_D4 36 |
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
// Sonic Screw Driver | |
// CONSTANTS AND VARIABLES | |
const int button2 = 2; | |
const int button3 = 3; | |
const int speaker = 4; | |
const int inputVoltagePin = 6; | |
const int IREMITTER = 7; | |
const int IRRECEIVER = 8; | |
const int LED = 9; |