PIC 12F629 Question.

JohnInTX

Joined Jun 26, 2012
4,787
Ah...so this is a first to you too.
Yeah. I have several in the drawer that I tried earlier in this exercise and every one was one grey code bit change per click. I'm not sure why you'd want to do all 4 phase changes per click. Maybe its intended to interface to some specific logic configuration.
An easy test is to hook up 2 LEDs to it and see what it does separate from any code or logic attached.
 

Thread Starter

R!f@@

Joined Apr 2, 2009
10,004
I'm not sure why you'd want to do all 4 phase changes per click. Maybe its intended to interface to some specific logic configuration.
I did not. I did not know how it worked when I bought it. The Chinese info on the part was "rather" informative.

I will try what you suggested
 

JohnInTX

Joined Jun 26, 2012
4,787
Ha. That was a rhetorical 'you', not you personally :). I gotta learn me some better grammar.
I figured you.. as in YOU... would have rightly expected one change/click.
But I am intrigued with the other kind. Maybe Mike will post a part number.
 

Thread Starter

R!f@@

Joined Apr 2, 2009
10,004
Guess Mike is busy.

You should contact HP for better grammar.
Learn from him and I am going to have field day figuring out a simple variable definition from you :confused:
 
Last edited:

Thread Starter

R!f@@

Joined Apr 2, 2009
10,004
Bumping for @MMcLaren

The encoder I got was the clicking type.
The one I experimented with works easily with dents.

The one that I got from china has dents.
The PWM value changes 3 times with one click.
That was the question we liked to as @MMcLaren that what would be a simple approach to increase PWM by one with each click (which now produces three brightness levels with one click)
 
Top