Page 1 of 1

Example for Grove Encoder does not work

Posted: Sun Sep 02, 2018 12:23 am
by dagobert
Hi,

the example for the Grove Encoder at
http://wiki.seeedstudio.com/Grove-Encoder/
does not work for a couple of reasons:
1. the picture does now show the current version of the Base Shield v2 but something else
2. the Circular LED must not be connected to A4/A5 but for example to D4/D5
3. the initialization in the example uses
CircularLED circularLED;
without argumets. However, the constructor takes arguments of the form
CircularLED::CircularLED( int data, int clk)
and if the Circular LED is connected to D4/D5 should be chnaged to
CircularLED circularLED(5,4);

To make things more complicated the download link to the test program for the Circular LED
(_CircularLEDtest_) is broken at
http://wiki.seeedstudio.com/Grove-Circular_LED/

It would be good if the docs could be changed so the example would run out of the box.

Re: Example for Grove Encoder does not work

Posted: Tue Sep 04, 2018 11:04 am
by seeed techsupport team
Hi there,

Really appreciate your suggestion and I will update the wiki by today. thanks.

best rgds
Bill

Re: Example for Grove Encoder does not work

Posted: Tue Sep 04, 2018 8:55 pm
by bill.yu
Hi there,

I just updated the arduino session. we will add the raspberry session later on. thanks.

Bill

Re: Example for Grove Encoder does not work

Posted: Mon Sep 10, 2018 4:30 pm
by dagobert
Hi,

there is one error left: the link on the page
http://wiki.seeedstudio.com/Grove-Circular_LED/
to the example
with_CircularLEDtest_ example
in the section "Software" is still broken.

Would you mind having a look?


Best regards -- Dago

Re: Example for Grove Encoder does not work

Posted: Mon Sep 10, 2018 7:59 pm
by bill.yu
Hi there,

updated. thanks

Bill