Go Down

Topic: digital i/o pins (Read 3014 times) previous topic - next topic

tusharunjha

In the technical specification the Digital I/O Pins are   8. So which pins are used as a digital input or output?

manor_royal

Technical specification of what?

Any digital pin can be either an input or an output, if that's what you mean. Specify direction with pinMode().



If this was a Civil Engineering forum would there be posts like "I need to build a bridge. Someone send me drawings."

tusharunjha

But in MKR1000 Technical specification
it wrote Digital I/O Pins   8.

manor_royal

Presumably the ones marked 0-7 on the board.

If this was a Civil Engineering forum would there be posts like "I need to build a bridge. Someone send me drawings."

Gabriel_swe

This one? https://store.arduino.cc/index.php?main_page=product_info&products_code=GBX00011

0-7 is digital

A0-A6 is analog

~ indicates pwm capable pin.

tusharunjha

But led is blinking from 0 to 14 pins and A0 TO A6 PIN.
In datasheet  of MKR1000 8 I/O pins.
So which pins are considered as a digital i/o pins?

ballscrewbob

@ tusharunjha

All the documentation you should need is HERE

The analogs are essentaily ADC's so can also be used as I/O IIRC.

Some pins can have multiple uses depending on how you call them in your sketch.

Bottom line they are all I/O in some form.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

RedDragon

what does that little ac mark mean beside pins 2-5?

Gabriel_swe

what does that little ac mark mean beside pins 2-5?
Do you mean the tilde symbol mentioned in answer #4 above?

RedDragon

Ok so that mark means its a PWM pin, but the page for the MKR1000 says that pins 0-8 are PWM pins so why does just pins 2-5 have that mark?

Go Up