# Hy guys i have question with button

**URL:** <https://forum.xod.io/t/hy-guys-i-have-question-with-button/3613>\
**Category:** Uncategorized\
**Created:** [March 10, 2020, 8:17pm UTC](https://forum.xod.io/t/hy-guys-i-have-question-with-button/3613 "2020-03-10T20:17:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apsolucija](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@apsolucija](https://forum.xod.io/u/apsolucija)\
**Post date:** [March 10, 2020, 8:17pm UTC](https://forum.xod.io/t/hy-guys-i-have-question-with-button/3613/1 "2020-03-10T20:17:39Z")

</div>

Can anyone tell me if i can make in xod a button for example a pin analog in? for example, a button on analog A2 and? if yes, how do i put a tag? i tried put the A2 but it doesn’t work …

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 10, 2020, 9:15pm UTC](https://forum.xod.io/t/hy-guys-i-have-question-with-button/3613/2 "2020-03-10T21:15:29Z")

</div>

Hmmm…What happens when you use A2? I’m able to specify, but don’t have hardware out to test upload…

As a workaround, you should be able to reference analog pins using D# also. If your board has 16 digital pins, They will be labelled D0-D15. D16 will be the same as A0.

---

<div class="post-metadata">

**Author:** ![apsolucija](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@apsolucija](https://forum.xod.io/u/apsolucija)\
**Post date:** [March 14, 2020, 8:42am UTC](https://forum.xod.io/t/hy-guys-i-have-question-with-button/3613/3 "2020-03-14T08:42:24Z")

</div>

Yes, you are right, I tried to connect say A0-xodD14 and it works, just like A2-xodD16 and these are the pins … with only one I have a problem when I connect everything the same to A4-xodD18 or D2-xodD2 these pins it doesn’t work I don’t understand where the problem is, how much I see in the scheme should be ok or not?
