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
#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
#!/bin/bash | |
clear | |
echo -e "\n\t\t#Bluetooth script by Horloge-Skynet.\n" | |
echo -e "\t\033[1;31m/!\ Be sure that your Hardware Bluetooth is running... /!\ \033[0m \n\n" | |
if [ -d /usr/share/doc/bluez/ ] || [ -d /usr/share/doc/bluez-utils/ ]; then | |
echo -e "Bluetooth of \033[1m$USER\033[0m on \033[1m$HOSTNAME\033[0m with \033[1m$SHELL\033[0m:" |
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 "LCD4884.h" | |
//#include "Wire.h" | |
#include "Servo.h" | |
Servo servo; | |
//#include "Adafruit_BMP085.h" | |
//Adafruit_BMP085 bmp; | |
#define DEBOUNCE_MAX 15 | |
#define DEBOUNCE_ON 10 | |
#define DEBOUNCE_OFF 3 |
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 | |
import os | |
import json | |
import subprocess | |
import urllib.request | |
# Just edit this with your GitHub's username |
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 <inttypes.h> | |
#include <errno.h> | |
#define BUFFERSIZE 64 | |
void shellSort(const char *const); |
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 <unistd.h> | |
#include <errno.h> | |
#include <sys/wait.h> | |
void sky_clear(void) | |
{ |
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
const int switchG = 2; | |
const int switchA = 3; | |
const int switchB = 4; | |
const int switchC = 5; | |
const int vanne = 6; | |
int switchGstate = 0; | |
int switchAstate = 0; | |
int switchBstate = 0; | |
int switchCstate = 0; |
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
const int relais = 4; | |
const int switch_haut = 3; | |
const int switch_bas = 2; | |
const int photoresistance = A0; | |
const int anemometre = A1; | |
void setup() | |
{ |
OlderNewer