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
param( | |
[Parameter(Mandatory = $true)][String]$DirName, | |
[Switch]$WhatIf | |
) | |
$DisplayName = [System.IO.Path]::GetFileName($DirName) | |
$logFile = "$env:TEMP\UninstallScript.log" | |
function Log { | |
param ($Message) |
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
char incomingStr = 'a'; // for incoming serial data | |
String userInput; | |
String output; | |
int inputLength; | |
int x; | |
int numeric[120]; | |
int shift; | |
int buttonPin = 13; |
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
//char types of variables can hold characters so we use this | |
char Alphabet[26] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}; //Here we declare a char array and then assign the letters of the alphabet to each place you use '' for a single character and "" for a string of characters | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); | |
} | |
void loop() { |
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
//Stopgame | |
//Ethan Cook | |
int LEDcontrolpin[5] = {2, 3, 4, 5, 6}; //Declares the array of LED pins that will be used | |
int buttonPin = 7; //Our button | |
int x; // have to declare globaly because its used in the loop and function | |
int i; // ^^^^ | |
int levelTime; //Using int because the max value it will be in 1000 |
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
#define NOTE_B0 31 | |
#define NOTE_C1 33 | |
#define NOTE_CS1 35 | |
#define NOTE_D1 37 | |
#define NOTE_DS1 39 | |
#define NOTE_E1 41 | |
#define NOTE_F1 44 | |
#define NOTE_FS1 46 | |
#define NOTE_G1 49 | |
#define NOTE_GS1 52 |
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
/* This version seems to work :D */ | |
//Global Variables | |
int buttonPin = 2; | |
int lapbuttonPin = 3; | |
int x = 0; | |
int i = 0; |