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
/* | |
Name: Huff.cpp | |
Authors: Caleb Hopper and Justin Nesselrotte | |
Data: 10/27/2013 | |
Description: This program takes as input from the console a | |
file name. It then writes out a compressed file with the same | |
file name but a .huf extension. It does this by using the | |
Huffman algorithm to compress the data. | |
*/ | |
#include <iostream> |
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
#!/bin/sh | |
if [ $# -eq 0 ] | |
then | |
if [ ! -f ".env" ] | |
then | |
echo "No current environment found" | |
exit | |
fi |
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
#include <SoftwareSerial.h> | |
#define CARD_CODE_LENGTH 10 | |
const int ledPin = 2; | |
const int doorLock = 4; | |
const int txPin = 6; | |
const int rxPin = 8; | |
int byteRead = 0; | |
int bytesRead = 0; |