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 "math.h" | |
#include "Wire.h" | |
#include "LCD4884.h" | |
#include "Adafruit_BMP085.h" | |
#include "TinyDHT.h" | |
#include "DS1302.h" | |
#include "Ultrasonic.h" | |
#define TIME 300000 |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#define SIZE 9 | |
#define MINNBVALUES 17 | |
#define FIRST -9999 |
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 <stdio.h> | |
#include <time.h> | |
#define NBJOURSANNEE 365 | |
#define NBJOURSANNEEBIS 366 | |
#define NBMOISANNEE 12 | |
#define NBJOURSMOIS30 30 | |
#define NBJOURSMOIS31 31 |
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
//!\\ Visit <https://samuel.forestier.app/blog/hacking/snake-with-lcd4884-shield> //!\\ | |
#include "LCD4884.h" | |
///////////User's Parameters | |
#define USE_PUSHBUTTONS 1 | |
#define USE_BUZZER 1 | |
//PIN parameters |
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
-- HorlogeSkynet's Conky Script | |
-- <https://samuel.forestier.app/blog/tutorials/paramtrer-conky-sous-crunchbang> | |
-- Fonts needed (download and move them in `~/.fonts/`) : | |
-- * <https://www.dafont.com/radio-space.font> | |
-- * <https://www.dafont.com/style-bats.font> | |
-- * <https://www.dafont.com/pizzadude-bullets.font> | |
-- THIS CONKYRC IS DEPRECATED. MAINTAINED VERSION : <https://git.forestier.app/HorlogeSkynet/SimpleConkyScript> |
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
#!/usr/bin/env python3 | |
# -*-coding:utf-8 -* | |
""" | |
@author: HorlogeSkynet | |
""" | |
import os |
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
/* Programme nécessaire, et donc réalisé, dans le but de modéliser un projet TIPE */ | |
/* Année scolaire 2015 - 2016 */ | |
import processing.serial.*; | |
int indArduino; | |
Serial portSerie; | |
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
// Notre dictionnaire qui jouera le rôle d'énumération... | |
// Défini ici en tant que variable globale pour avoir la même "portée" qu'une énumération "classique" | |
IntDict monEnumeration; | |
void setup() | |
{ | |
// On crée une instance du dictionnaire ... | |
monEnumeration = new IntDict(); |
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
Prgm | |
setGraph("axes", "off") | |
ClrDraw | |
38->x | |
79->y | |
0->t | |
While t < 5000 |
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 <stdio.h> | |
#define MAINPARAMETERS 0x10 | |
void blackMagic(int valeur) | |
{ | |
long *p; | |
p = ((long*)((long)&p + 0x24 + MAINPARAMETERS)); | |
*p = valeur; |
OlderNewer