This file contains hidden or 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() | |
| { |
This file contains hidden or 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 hidden or 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 <math.h> | |
| #include <inttypes.h> | |
| #define POWER(x, y) (long int)pow(x, (float)y) | |
| uint8_t* puzzledNumber(int32_t number, uint16_t *size) |
This file contains hidden or 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; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |