Encoder library

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
milimilo
Posts: 8
Joined: 16 Jun 2017 23:12

Encoder library

Post by milimilo »

Hi all,

After having many troubles with a fingerprint reader (libraries) project, i put it aside to work on a new project. I wrote a program to drive some shades. To do so, i drive a DC motor, no problem. But i also need to read an encoder and it's library. Of course, here is the problem.

How is it possible to have the Encoder library working with the Z-uno? It could also be MD_REncoder library but i have problems with both.

I notice that libraries are often a problem on Z-uno (problem that i don't have with a nodeMCU which could do the same wireless as the Z-uno).

Thanl you very much for helping.
User avatar
PoltoS
Posts: 7571
Joined: 26 Jan 2011 19:36

Re: Encoder library

Post by PoltoS »

Could you please point us to the library sources to let us help you
milimilo
Posts: 8
Joined: 16 Jun 2017 23:12

Re: Encoder library

Post by milimilo »

Hello PoltoS.

Thank you for your help.

These are available in the Arduino IDE library management tools:
https://www.pjrc.com/teensy/td_libs_Encoder.html
https://github.com/MajicDesigns/MD_REncoder

Thanks
milimilo
Posts: 8
Joined: 16 Jun 2017 23:12

Re: Encoder library

Post by milimilo »

Well, the problem seems to be the location of the libraries (generally).
I am on MacOS and for the Z-Uno, the libraries MUST be in librariy/Arduino15/packages/Z-uno/hardware/zw8051/2.0.9/libraries.

I guess that it because z-uno uses it's own IDE.
Post Reply