<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>http://wiki.lesfabriquesduponant.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Damien+Fougeres</id>
		<title>Les Fabriques du Ponant - Contributions de l’utilisateur [fr]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.lesfabriquesduponant.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Damien+Fougeres"/>
		<link rel="alternate" type="text/html" href="http://wiki.lesfabriquesduponant.net/index.php?title=Sp%C3%A9cial:Contributions/Damien_Fougeres"/>
		<updated>2026-04-04T00:07:13Z</updated>
		<subtitle>Contributions de l’utilisateur</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wiki.lesfabriquesduponant.net/index.php?title=ENIB_2022_-_groupe_B_:_chaise_volante&amp;diff=18713</id>
		<title>ENIB 2022 - groupe B : chaise volante</title>
		<link rel="alternate" type="text/html" href="http://wiki.lesfabriquesduponant.net/index.php?title=ENIB_2022_-_groupe_B_:_chaise_volante&amp;diff=18713"/>
				<updated>2022-01-14T14:59:00Z</updated>
		
		<summary type="html">&lt;p&gt;Damien Fougeres : Page créée avec « ==photo de l'équipe== 600px  ==Que fait ce projet ? == L'attraction chaise volante est une attraction de fête foraine qui consiste a faire... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==photo de l'équipe==&lt;br /&gt;
[[Fichier:Photoenib2018.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
==Que fait ce projet ? ==&lt;br /&gt;
L'attraction chaise volante est une attraction de fête foraine qui consiste a faire tourner les chaises et elle s'élever grâce à la force centrifuge&lt;br /&gt;
==Liste des composants==&lt;br /&gt;
&lt;br /&gt;
* arduino&lt;br /&gt;
* bois&lt;br /&gt;
* led&lt;br /&gt;
* moteur&lt;br /&gt;
* auto collant&lt;br /&gt;
* carton&lt;br /&gt;
* fils &lt;br /&gt;
&lt;br /&gt;
==circuit electrique==&lt;br /&gt;
&lt;br /&gt;
[[Fichier:Circuit electrique.jpg|vignette]]&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;FastLED.h&amp;gt;&lt;br /&gt;
#define NUM_LEDS 20      /* The amount of pixels/leds you have */&lt;br /&gt;
#define DATA_PIN 2       /* The pin your data line is connected to */&lt;br /&gt;
#define LED_TYPE WS2812B /* I assume you have WS2812B leds, if not just change it to whatever you have */&lt;br /&gt;
#define BRIGHTNESS 255   /* Control the brightness of your leds */&lt;br /&gt;
#define SATURATION 255   /* Control the saturation of your leds */&lt;br /&gt;
#include &amp;lt;Servo.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Servo myservo;           // création de l'objet myservo &lt;br /&gt;
&lt;br /&gt;
int pin_servo = 0;       // Pin 6 sur lequel est branché le servo sur l'Arduino si vous utilisez un ESP32 remplacez le 6 par 4 et si vous utilisez un ESP8266 remplacez le 6 par 2&lt;br /&gt;
int position = 40;       // Position souhaitée&lt;br /&gt;
&lt;br /&gt;
CRGB leds[NUM_LEDS];&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  FastLED.addLeds&amp;lt;LED_TYPE, DATA_PIN&amp;gt;(leds, NUM_LEDS);&lt;br /&gt;
  myservo.attach(pin_servo);  // attache le servo au pin spécifié sur l'objet myservo&lt;br /&gt;
  myservo.write(position);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
  for (int j = 0; j &amp;lt; 255; j++) {&lt;br /&gt;
    for (int i = 0; i &amp;lt; NUM_LEDS; i++) {&lt;br /&gt;
      leds[i] = CHSV(i - (j * 2), SATURATION, BRIGHTNESS); /* The higher the value 4 the less fade there is and vice versa */ &lt;br /&gt;
    }&lt;br /&gt;
    FastLED.show();&lt;br /&gt;
    delay(10); /* Change this to your hearts desire, the lower the value the faster your colors move (and vice versa) */&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Catégories==&lt;br /&gt;
&lt;br /&gt;
[[Catégorie:Enib2022]]&lt;/div&gt;</summary>
		<author><name>Damien Fougeres</name></author>	</entry>

	<entry>
		<id>http://wiki.lesfabriquesduponant.net/index.php?title=Fichier:Circuit_electrique.jpg&amp;diff=18712</id>
		<title>Fichier:Circuit electrique.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.lesfabriquesduponant.net/index.php?title=Fichier:Circuit_electrique.jpg&amp;diff=18712"/>
				<updated>2022-01-14T14:57:09Z</updated>
		
		<summary type="html">&lt;p&gt;Damien Fougeres : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;shéma de notre circuit electrique&lt;/div&gt;</summary>
		<author><name>Damien Fougeres</name></author>	</entry>

	</feed>