   
   else{}
 
-  /*if (Serial.available()){
+  if (Serial.available()){
     char i = Serial.read();
     
     if (i == '0'){

    else{
      Serial.println("002"); //Something is wrong with the RPi Communication
    }  
  }*/
  delay(50); 
}

#include <Servo.h>

Servo magnetServo;
int val = 2;

void setup(){
  Serial.begin(9600);
