I ran this code on an arduino now i can no longer upload code or connect to the board i think its stuck in a loop?? my pc picks it up but i cant connect (allready in use error) i unplugged and plugged back in now no error but still cant connect... is their a jumper to restore or???
//no delay... how bad is it??
void setup(){
//start serial connection
Serial.begin(9600);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(11, INPUT);
//no delay... how bad is it??
};
int count =0;
void loop(){
//no delay... how bad is it??
digitalWrite(8,LOW);
digitalWrite(9,HIGH);
int Data = digitalRead(11);
if (Data==0){
//no delay... how bad is it??
while (count!=16){
Serial.print(digitalRead(11));
count =count+1 ;
}
Serial.println("");
count=0;
}
//no delay... how bad is it??
};