Skip to content

Instantly share code, notes, and snippets.

View YhanChristian's full-sized avatar
🏆
Focusing

Yhan Christian YhanChristian

🏆
Focusing
View GitHub Profile
@elktros
elktros / heartbeatArduino.ino
Created November 8, 2017 05:02
Heartbeat Sensor using Arduino
#include <LiquidCrystal.h>
LiquidCrystal lcd(6, 5, 3, 2, 1, 0);
int data=A0;
int start=7;
int count=0;
unsigned long temp=0;
byte customChar1[8] = {0b00000,0b00000,0b00011,0b00111,0b01111,0b01111,0b01111,0b01111};
byte customChar2[8] = {0b00000,0b11000,0b11100,0b11110,0b11111,0b11111,0b11111,0b11111};
byte customChar3[8] = {0b00000,0b00011,0b00111,0b01111,0b11111,0b11111,0b11111,0b11111};
@MiltonLn
MiltonLn / hangman.py
Last active October 6, 2024 16:04
A simple hangman game for Python Cali August Meetup about Testing in Python
import random
HANGMAN = [
'________',
'| |',
'| O',
'| |',
'| /|\ ',
'| |',
@456789123
456789123 / ControleInterface.java
Last active January 28, 2016 14:51
Using a GUI control with java, I have the temperature reading with the LM35 and control of a fan that can be used in a cooling system or greenhouse.
package janela;
import java.io.IOException;
import javax.swing.JFrame;
import javax.swing.UIManager;
public class ControleInterface {
@ivanseidel
ivanseidel / PID.ino
Last active March 29, 2024 07:15
Simple PID Class for Arduino Projects
// (Really Simple) PID Class by Ivan Seidel
// GitHub.com/ivanseidel
// Use as you want. Leave credits
class PID{
public:
double error;
double sample;
double lastSample;