Arduino And Electronics Arabic Projects Djerba Tunisia
06/01/2025
مشروع تصفيف السيارات parking lot
الكود 👇
/*ParkingL02.pde
Arduining.com 08 JUL 2012
Code used in the production of the Youtube material.
*/
Servo myservo; // create servo object to control a servo
ServoM 12 //Connected to the servo motor.
Bright 11 //servo library disable PWM on pins 9 and 10.
Exit 9 //Pin connected to the EXIT button.
In 8 //Pin connected to the IN button.
BarLow 177 //Low position of the barrier.
BarUp 95 //Up position of the barrier.
CAPACITY 8 //Capacity of the parking lot.
INTEN 80 //Display intensity %
//Pins conections to segments (cathodes).
segA 0
segB 1
segC 2
segD 3
segE 4
segF 5
segG 6
//Array with the segments to represent the decimal numbers (0-9).
byte segments[10] = {
// pgfedcba
Click here to claim your Sponsored Listing.
Category
Contact the school
Telephone
Website
Address
Djerba
4145