Go Down

Topic: Firmata confusing pins (Read 364 times) previous topic - next topic

organnoise

Hi,

I am using firmata with maxuino. My project has been working fine until now, pin 10 and 11 will not output a HIGH or LOW. I've yet to upload a sketch directly from the Arduino software to see if the Pins work while not being controller by firmata.

Has anyone had this problem or know why my pins all of a sudden are not responding?

Thanks


organnoise

I just test my pins 10 and 11 on a solenoid using this sketch

void setup() {               
  pinMode(8, OUTPUT);     
  pinMode(9, OUTPUT);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}

void loop() {
  digitalWrite(9, HIGH);
  delay(1);         
  digitalWrite(9, LOW);
  delay(1);         
}

And the pin won't even work for that. This code works for any other pin however. Maybe it is broken ?

James C4S

How you determining the pin "works"?  Unless you are using an oscilloscope,  I doubt a 1ms delay gives you the results you expect.

How much current do some solenoids draw?
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Go Up