# Dialing in a number with a rotary encoder

**URL:** <https://forum.xod.io/t/dialing-in-a-number-with-a-rotary-encoder/1339>\
**Category:** Uncategorized\
**Created:** [November 8, 2018, 2:15pm UTC](https://forum.xod.io/t/dialing-in-a-number-with-a-rotary-encoder/1339 "2018-11-08T14:15:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![glowser](https://avatars.discourse-cdn.com/v4/letter/g/278dde/32.png) [@glowser](https://forum.xod.io/u/glowser)\
**Post date:** [November 8, 2018, 2:15pm UTC](https://forum.xod.io/t/dialing-in-a-number-with-a-rotary-encoder/1339/1 "2018-11-08T14:15:25Z")

</div>

What would be the best way for a message to apprear on an lcd screen with a set start value, where you can adjust that value with a rotary encoder?

---

<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:** [November 8, 2018, 4:57pm UTC](https://forum.xod.io/t/dialing-in-a-number-with-a-rotary-encoder/1339/2 "2018-11-08T16:57:40Z")

</div>

[nkrkv/encoder](https://xod.io/libs/nkrkv/encoder/) library has example using count node to track value. You could feed this to lcd instead of watch node. If you want non-zero initial value, you could add the start value to count output before feeding to lcd.

Initial value might be a good pin to add to count node for when you don’t want to reset to 0.
