Arduino Forum

Products => MKR Boards => MKR1000 => Topic started by: tusharunjha on Jan 28, 2017, 02:27 pm

Title: digital i/o pins
Post by: tusharunjha on Jan 28, 2017, 02:27 pm
In the technical specification the Digital I/O Pins are   8. So which pins are used as a digital input or output?
Title: Re: digital i/o pins
Post by: manor_royal on Jan 28, 2017, 02:30 pm
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() (https://www.arduino.cc/en/Reference/PinMode).



Title: Re: digital i/o pins
Post by: tusharunjha on Jan 28, 2017, 02:35 pm
But in MKR1000 Technical specification
it wrote Digital I/O Pins   8.
Title: Re: digital i/o pins
Post by: manor_royal on Jan 28, 2017, 02:40 pm
Presumably the ones marked 0-7 on the board.

Title: Re: digital i/o pins
Post by: Gabriel_swe on Jan 28, 2017, 02:43 pm
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.
Title: Re: digital i/o pins
Post by: tusharunjha on Feb 01, 2017, 12:46 pm
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?
Title: Re: digital i/o pins
Post by: ballscrewbob on Feb 01, 2017, 07:08 pm
@ tusharunjha

All the documentation you should need is HERE (https://www.arduino.cc/en/Main/ArduinoMKR1000)

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.

Title: Re: digital i/o pins
Post by: RedDragon on Feb 27, 2017, 03:43 am
what does that little ac mark mean beside pins 2-5?
Title: Re: digital i/o pins
Post by: Gabriel_swe on Feb 27, 2017, 12:30 pm
what does that little ac mark mean beside pins 2-5?
Do you mean the tilde symbol mentioned in answer #4 above?
Title: Re: digital i/o pins
Post by: RedDragon on Feb 27, 2017, 04:45 pm
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?