5
4.
Usage
This Grove-Encoder is very easy to use with the
designed by seeedstudio. Simply connect this
module to the D2 connector of Base Shield and you can start using. The following is a introduction of how
.
This Circular LED bar consists of an Encoder and a
module. Connect the two modules
to Base shield as the following picture:
librarys and install them to your Arduino IDE.
Restart
the
Arduino
IDE
and
open
the
example
by
the
path :File->Examples->Encoder->EncodeCircuiBar.
#include <CircularLED.h>
#include <Encoder.h>
#include <TimerOne.h>
CircularLED circularLED
;
unsigned
int
LED
[
24
];
int
index_LED
;
void
setup
()
{
encoder
.
Timer_init
();
}
Содержание 111020001
Страница 2: ...2 Document Revision History Revision Date Author Description 1 0 Sep 21 2015 Victor He Create file ...
Страница 6: ...3 2 Features Incremental encoder Grove Interface 360 degree rotary ...
Страница 11: ...8 5 Resources Encoder Spec Demo in Arduino forum TimeOne Lib Encoder Lib Grove Encoder Eagle files ...
Страница 12: ...9 6 Support If you have questions or other better design ideas you can go to our forum or wish to discuss ...