Page 1 of 1

enable 1047

Posted: Sun Sep 04, 2011 4:24 am
by mrcw
hi

I've been trying to enable encoder 0 using

encoder.encoders[0].Enabled = true;

but the program doesn't like 'Enabled'. I've tried various combinations ,but I still can't enable the encoder.

Any ideas?

thx

Re: enable 1047

Posted: Tue Sep 06, 2011 8:35 am
by erik
Since we have two different encoder boards, only the 1047 has the functionality to enable or disable encoders. Due to this, you will need to use:

Code: Select all

encoders.encodersWithEnable[0].Enable = true;