Skip to content

Instantly share code, notes, and snippets.

View JesusTinoco's full-sized avatar

Jesus Tinoco JesusTinoco

View GitHub Profile
@JesusTinoco
JesusTinoco / Practica4Arduino.ino
Created December 4, 2020 10:44
Practica4 - Arduino
#include <Timer5.h>
// Identificación de pines digitales
int pinTone = 8;
int pinBoton = 4;
int pinRojo = 1;
int pinVerde = 3;
int pinAmarillo = 5;
// Identificación de pines analógicos
@JesusTinoco
JesusTinoco / p4Arduino.log
Created December 3, 2020 18:43
p4Arduino Log
BLINK
1
2
3
4
5
6
7
8
9
@JesusTinoco
JesusTinoco / p4Arduino.ino
Created December 3, 2020 18:41
Practica 4 - Arduino (Led Interrupt)
#include <Servo.h>
#include <Timer5.h>
// Identificación de pines digitales
int pinServo = 9;
int pinTone = 8;
int pinBoton = 4;
int pinRojo = 1;
int pinVerde = 3;
int pinAmarillo = 5;
@JesusTinoco
JesusTinoco / p4Arduino.ino
Last active December 3, 2020 15:08
Practica 4 - Arduino
#include <Servo.h>
#include <Timer5.h>
// Identificación de pines digitales
int pinServo = 9;
int pinTone = 8;
int pinBoton = 4;
int interruptButton = 1;
int pinRojo = 2;
int pinVerde = 3;

Keybase proof

I hereby claim:

  • I am jesustinoco on github.
  • I am jesustinoco (https://keybase.io/jesustinoco) on keybase.
  • I have a public key ASDhPprBTcMxsMB7Q49os269WVToQtd0yK56gStPzzvAQQo

To claim this, I am signing this object:

# trace the whatever_code_to_be_traced
trace(:call) do
whatever_code_to_be_traced
end
# filter by 'state_machine' files
trace(:call, 'state_machine') do
whatever_code_to_be_traced
end
@JesusTinoco
JesusTinoco / test_helper.rb
Created August 9, 2015 06:47
Displaying tests with colors in RoR (Have to use https://github.com/kern/minitest-reporters gem)
require "minitest/reporters"
Minitest::Reporters.use!
@JesusTinoco
JesusTinoco / .bash_profile
Last active August 29, 2015 14:26
Git auto-complete
# curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
test -f ~/.git-completion.bash && . $_
@JesusTinoco
JesusTinoco / .gitconfig
Last active August 29, 2015 14:26
Using an alias to list all Git commits that are on one branch, but aren't on the other. (http://jerodsanto.net/2014/09/git-a-list-of-commits-on-one-branch-but-not-the-other/)
[alias]
# List all Git commits that are on one branch, but aren't on the other (e.g.: compare master...current_branch)
compare = log --left-right --graph --cherry-pick --oneline