- 6
- 14 952
Nouamane Kamel
เข้าร่วมเมื่อ 2 มิ.ย. 2015
TP3 ARDUINO AFFICHEUR 7SEGMENT (Proteus) / PROJET ARDUINO
CODE./
void setup() {
pinMode(7,OUTPUT);
pinMode(6,OUTPUT);
pinMode(5,OUTPUT);
pinMode(4,OUTPUT);
pinMode(3,OUTPUT);
pinMode(2,OUTPUT);
pinMode(1,OUTPUT);
}
void loop() {
//COMPTAGE0_9
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,LOW);//0
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//1
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,LOW);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,LOW);digitalWrite(1,HIGH);//2
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,HIGH);//3
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//4
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//5
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//6
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//7
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//8
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//9
delay(1000);
//DECOMPTAGE 9_0
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//9
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//8
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//7
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//6
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//5
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//4
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,HIGH);//3
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,LOW);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,LOW);digitalWrite(1,HIGH);//2
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//1
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,LOW);//0
delay(1000);
}
_______________________________________
nv_nouamane
EMAIL; nouamankamel@gmail.com
void setup() {
pinMode(7,OUTPUT);
pinMode(6,OUTPUT);
pinMode(5,OUTPUT);
pinMode(4,OUTPUT);
pinMode(3,OUTPUT);
pinMode(2,OUTPUT);
pinMode(1,OUTPUT);
}
void loop() {
//COMPTAGE0_9
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,LOW);//0
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//1
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,LOW);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,LOW);digitalWrite(1,HIGH);//2
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,HIGH);//3
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//4
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//5
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//6
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//7
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//8
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//9
delay(1000);
//DECOMPTAGE 9_0
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//9
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//8
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//7
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//6
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,LOW);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//5
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,HIGH);digitalWrite(1,HIGH);//4
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,HIGH);//3
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,LOW);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,LOW);digitalWrite(1,HIGH);//2
delay(1000);
digitalWrite(7,LOW);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,LOW);digitalWrite(3,LOW);digitalWrite(2,LOW);digitalWrite(1,LOW);//1
delay(1000);
digitalWrite(7,HIGH);digitalWrite(6,HIGH);digitalWrite(5,HIGH);digitalWrite(4,HIGH);digitalWrite(3,HIGH);digitalWrite(2,HIGH);digitalWrite(1,LOW);//0
delay(1000);
}
_______________________________________
nv_nouamane
EMAIL; nouamankamel@gmail.com
มุมมอง: 64
วีดีโอ
TP2 ARDUINO JEU DE LUMIERE (Proteus) / PROJET ARDUINO
มุมมอง 1233 ปีที่แล้ว
code; void setup() { pinMode(13,OUTPUT); pinMode(12,OUTPUT); pinMode(11,OUTPUT); pinMode(10,OUTPUT); pinMode(9,OUTPUT); pinMode(8,OUTPUT); } void loop() { digitalWrite(13,HIGH); delay(100); digitalWrite(12,HIGH); delay(100); digitalWrite(11,HIGH); delay(100); digitalWrite(10,HIGH); delay(100); digitalWrite(9,HIGH); delay(100); digitalWrite(8,HIGH); delay(100); digitalWrite(8,LOW); delay(100); d...
TP1 ARDUINO
มุมมอง 1483 ปีที่แล้ว
INSTAGRAM: nv_nouamane E_MAIL: NOUAMANKAMEL@GMAIL.COM . . . . . . . . . CODE: void setup() { pinMode(4,OUTPUT); //DEFINIR PIN 4 COMME SORTIE pinMode(5,OUTPUT); //DEFINIR PIN 5 COMME SORTIE pinMode(6,OUTPUT); //DEFINIR PIN 6 COMME SORTIE } void loop() { //ALLUMER LA LED VERTE PENDANT 5s digitalWrite(4,HIGH); //red digitalWrite(5,LOW); //BLUE digitalWrite(6,LOW); //green delay(5000)...
TP1 TOURNAGE CNC (FANUC 0iT) / Programmation et usinage sur machines à commande numérique
มุมมอง 14K3 ปีที่แล้ว
CODE DE PROGRAMME: O0002 N01G90G54G40G80 N02G52S4500 N03G96S900M03 N04T0101 N05G00X61Z1 N06G71U1R0.4 N07G71P08Q12U0W0F0.15 N08G00X20Z0 N09G01X40Z-20 N10G01X40Z-40 N11G02X60Z-50R10 N12G01X60Z-70 N13G28U0W0 N14M30
FANUC 0i T Untitled 2021 02 18 01 08 54
มุมมอง 1443 ปีที่แล้ว
FANUC 0i T Untitled 2021 02 18 01 08 54
كنت منزلة منو piscart بس مش راضي يشتغل هلا .. و حتى مسحتو كان ب.ي نزلو مرة ثانية منو مش راضي ينزل