Library for the ArduinoLearningKitStarter (ALKS) board by RoboticsBrno with definition of pins and initialization of peripheries (wiki).
Available at the Arduino Library Manager in Arduino IDE. To access it type CTRL
+ SHIFT
+ I
or Sketch
-> Include Library
-> Manage Libraries..
and type ALSK
or ArduinoLearningKitStarter
. If you find the library, click on install button.
Available with PlatformIO - instalation steps.
void setupLeds()
- sets the pins for LEDs to outputvoid setupRgbLeds()
- sets the pins for RGB LEDs to outputvoid setupButtons()
- sets the pins for buttons to input with pull-upvoid setupPiezo()
- sets the pins for piezo to outputvoid setupAll()
- calls all previous functions
Definition of pins, which are possible to use on board ALKS (PDF with pinout on board).
L_R
orLED_RED
L_G
orLED_GREEN
L_Y
orLED_YELLOW
L_B
orLED_BLUE
L_RGB_R
orLED_RGB_RED
L_RGB_G
orLED_RGB_GREEN
L_RGB_B
orLED_RGB_BLUE
S1
orSERVO1
S2
orSERVO2
S3
orSERVO3
S4
orSERVO4
S5
orSERVO5
SW1
SW2
SW3
POT1
POT2
PIEZO1
PIEZO2
PHOTO
DHT_PIN