Go Down

Topic: Firmata confusing pins (Read 1 time) previous topic - next topic



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?



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);
  digitalWrite(9, LOW);

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


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