// #include <Servo.h>
// Servo myservo; // create servo object to control a servo
// int potpin = A0; // analog pin used to connect the potentiometer
// int val; // variable to read the value from the analog pin
// void setup() {
// myservo.attach(44); // attaches the servo on pin 9 to the servo object
// pinMode(A0, INPUT);
// }
// void loop() {
// val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
// val = map(val, 0, 1023, 0, 180); // scale it for use with the servo (value between 0 and 180)
// myservo.write(val); // sets the servo position according to the scaled value
// delay(15); // waits for the servo to get there
// }
// #include <Ultrasonic.h>
// /*
// * Pass as a parameter the trigger and echo pin, respectively,
// * or only the signal pin (for sensors 3 pins), like:
// * Ultrasonic ultrasonic(13);
// */
// Ultrasonic ultrasonic(22, 23);
// int distance;
// void setup() {
// Serial.begin(9600);
// }
// void loop() {
// // Pass INC as a parameter to get the distance in inches
// distance = ultrasonic.read();
// Serial.print("Distance in CM: ");
// Serial.println(distance);
// delay(1000);
// }
// void init_HW(){
// Serial.begin(9600);
// pinMode(24, OUTPUT);
// }
// void setup(){
// init_HW();
// }
// void loop(){
// digitalWrite(24, HIGH);
// delay(1000);
// digitalWrite(24, LOW);
// delay(1000);
// }