Rotary Encoder Help Needed

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
Mr_Steve
Posts: 2
Joined: Thu Mar 08, 2007 3:35 am
Location: Queesn Village, New York, USA

Rotary Encoder Help Needed

Post by Mr_Steve » Thu Mar 08, 2007 3:40 am

Hi,
Does anybody have a simple .bas program that runs on a PICx84 to decode a 2-bit Gray Code rotary switch?

I've been trying and I can not seem to get one working properly.

Any help would be greatly appreciated.

Thanks in advance,
Mr Steve

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Thu Mar 08, 2007 12:50 pm

What compiler are you using?

Swordfish supports the 18 series not a 16f84

Post Reply