# Control program for keypad 4x4?

**URL:** <https://forum.xod.io/t/control-program-for-keypad-4x4/4727>\
**Category:** Uncategorized\
**Created:** [December 29, 2020, 1:17pm UTC](https://forum.xod.io/t/control-program-for-keypad-4x4/4727 "2020-12-29T13:17:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![filipbrywa](https://avatars.discourse-cdn.com/v4/letter/f/ce73a5/32.png) [@filipbrywa](https://forum.xod.io/u/filipbrywa)\
**Post date:** [December 29, 2020, 1:17pm UTC](https://forum.xod.io/t/control-program-for-keypad-4x4/4727/1 "2020-12-29T13:17:14Z")

</div>

Hello everyone 😃  
Im new to this world of XOD so i have a questions. Is it possible to create a control program for keypad 4x4? Thank for the answers and have a nice day

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [December 29, 2020, 1:40pm UTC](https://forum.xod.io/t/control-program-for-keypad-4x4/4727/2 "2020-12-29T13:40:17Z")

</div>

Hi, when I started with XOD I did something, today it could be improved a lot. I don’t think the library is active, but this may give you an idea. If the analog value of the key is within a certain range, it will be taken as valid.

> [@Library keypad 4x4 1 wire (update)](https://forum.xod.io/t/library-keypad-4x4-1-wire-update/1265):
>
> I made my first library [https://xod.io/libs/cesars/keypad-4x4-1wire/](https://xod.io/libs/cesars/keypad-4x4-1wire/), I think it works. I would like you to try it and if you think it can be improved [4x4-keypad-1wire.xodball](https://forum.xod.io/uploads/xod/original/1X/c8ec7fa928a4673be47d7ae5425211ed34c86553.xodball) (92.5 KB) [descarga]

---

<div class="post-metadata">

**Author:** ![filipbrywa](https://avatars.discourse-cdn.com/v4/letter/f/ce73a5/32.png) [@filipbrywa](https://forum.xod.io/u/filipbrywa)\
**Post date:** [January 1, 2021, 5:07pm UTC](https://forum.xod.io/t/control-program-for-keypad-4x4/4727/3 "2021-01-01T17:07:28Z")

</div>

Ok so,  
I tried your boolean type of node and worked only two of outpots. At the moment when switch was pressed, LED(my output) was like pinging(lighted and stop). I thought that was cause of the range in keypad node and here is my question. To what type of connect to arduino u made this node? Beacuse i have seen many solution to connect keypad to arduino with one wire(A0). With different types of resistors. I connected with 4,7k resistors to rows and 1k resistors to columns. Apologize for my english 😛  
I will be grateful for your response and have a nice day 😃

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [January 31, 2021, 5:07pm UTC](https://forum.xod.io/t/control-program-for-keypad-4x4/4727/4 "2021-01-31T17:07:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
