Skip to content

Instantly share code, notes, and snippets.

View GuitouFlc's full-sized avatar

Guillaume FLOCH GuitouFlc

  • Granville, FRANCE
View GitHub Profile
/* sketch Arduino utilisation d'un module hc-sr04
Autheur : Guillaume FLOCH
site web : www.osdclic.fr
tuto : www.memorandum.ovh
membre de : www.goldorhack.org
*/
#define trigPin 5 //Trig
#define echoPin 4 //Echo
#define trigPinV 7 //Trig 2eme
@GuitouFlc
GuitouFlc / LeagueOfStats.js
Last active January 5, 2018 07:21
script using Google spreadsheet and Riot API
/*
* onOpen is the function called when the sheet is loaded
* It calls the run function to start populating data
*/
function onOpen(e) {
buildMenu(e);
run();
}
/*
@GuitouFlc
GuitouFlc / test cligno francois
Created August 28, 2017 16:40
test cligno francois
const int CG = 10
const int CD = 11
const int BG = 12
const int BD = 13
int BDState = 0
int BGState = 0
void setup() {
/* Simple step test for Pololu stepper motor driver carriers
This code can be used with the A4988, DRV8825, DRV8824, and
DRV8834 Pololu stepper motor driver carriers. It sends a pulse
every 500 ms to the STEP pin of a stepper motor driver that is
connected to pin 2 and changes the direction of the stepper motor
every 50 steps by toggling pin 3. */
#define STEP_PIN 2
#define DIR_PIN 3
/* sketch Arduino utilisation d'un module hc-sr04
Autheur : Guillaume FLOCH
site web : www.osdclic.fr
tuto : www.memorandum.ovh
membre de : www.goldorhack.org
*/
#define trigPin 5 //Trig
#define echoPin 4 //Echo
#define avertisseur 13 //Led
@GuitouFlc
GuitouFlc / sketchRFID.ino
Last active September 25, 2018 08:12
sketchRFIDLed+serrure
// utilisation : RFID - Controle d acces
// Autor : Guillaume FLOCH
//site : https://osdclic.fr
//site tuto : https://www.memorandum.ovh
//mise à jour, 05 octobre 2017.
#include <SPI.h>
#include <MFRC522.h>
//on défini nos pin
#define SS_PIN 10
#define RST_PIN 9
/*
* Code d'exemple pour une photorésistance.avec allumage/extinctionautomatique
*/
//!!! facultatif !!!
// on peut déclarer une variable pour notre photoresistance
// int foto= 0
// Fonction setup(), appelée au démarrage de la carte Arduino
@GuitouFlc
GuitouFlc / sketchinclinometre.ino
Last active July 29, 2016 14:17
add const correcX and correctY
/* sketch Arduino basé sur le travail de https://github.com/camerontech
Adapté et modifié par Guillaume FLOCH
site web : www.osdclic.fr
tuto : www.memorandum.ovh
membre de :
www.goldorhack.org
Affichage de l'angle sur lcd avec indicateur d'angle max et avertisseur d'approche d'angle max.
*/
#include <SoftwareSerial.h>
Verifying that +guitou is my blockchain ID. https://onename.com/guitou