Skip to content

Instantly share code, notes, and snippets.

View eclopez's full-sized avatar

Erik eclopez

View GitHub Profile
@eclopez
eclopez / Firmware.ino
Last active January 31, 2020 16:17
Trevin's Engineering Fair Project 2020 - Alarm Clock 2.0
// Include Libraries
#include "Arduino.h"
#include "Keypad.h"
#include "LiquidCrystal_PCF8574.h"
#include "PiezoSpeaker.h"
#include "Wire.h"
#include "RTClib.h"
// Pin Definitions
#define KEYPADMEM3X4_PIN_ROW1 6

Keybase proof

I hereby claim:

  • I am eclopez on github.
  • I am eclopez (https://keybase.io/eclopez) on keybase.
  • I have a public key ASDeTxZ0TFdKEy-aerA2TWe2eNWM7uWWdgUEs-WtQsRbowo

To claim this, I am signing this object:

@eclopez
eclopez / .bash_profile
Created August 8, 2019 04:33
My Terminal Prompt
eval "$(rbenv init -)"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
@eclopez
eclopez / MUSIC.BAS
Created December 6, 2017 17:02
MUSIC.BAS
CLS
PRINT " This is Erik Lopez's Ranodom Melody Machine"
PRINT " Written on this day the Twenty-sixth of November"
PRINT " In the year of our Lord Nineteen Hundred and Ninety Six."
SLEEP 5
CLS
INPUT "What is the secret code, all mighty one?"; g$
IF g$ = "Awesome" THEN GOTO 100 ELSE GOTO 90
90 CLS
PRINT "Nope. Wrong Password. You are officially a loser."
@eclopez
eclopez / X-FILES.BAS
Created December 6, 2017 16:58
X-FILES.BAS
10 REM *****************************************************
20 REM Program Name: X-FILES
30 REM Written By: Erik Lopez
40 REM Written For: X-CLUB
50 REM Date Written: July 16, 1994
60 REM *****************************************************
70 REM * DATA DICTIONARY *
80 REM
90 REM FINISH$ = Number input
100 REM PASSWORD$ = Password
@eclopez
eclopez / GUESS.BAS
Created December 6, 2017 16:55
GUESS.BAS
10 REM ************************************************************
20 REM Program Name: Guess My Number
30 REM Written by: Erik Lopez
40 REM Date Written: August 3, 1994
50 REM ************************************************************
DECLARE SUB Center (row!, text$)
DECLARE SUB Sparklepause ()
60 CLS
70 Center 4, "Guess My Number!!"
80 COLOR 7