Skip to content

LOCOboard Software API

Goals

  • Understand the concept of a programming library
  • Get familiar with the principle of using the locoboard API
  • Get an idea about how to use what's not in the library

Content

  • Explain what a library is and how to interact with it
  • include statement

  • Show locoboard documentation
  • Discuss how to work with the documentation
  • Make an example on how to control some element (e.g., an LED)

Activities

  • Interactive demo/discussion

Task 1

Write a program that shows something on the built-in LED matrix

Task 2

Complement it with some sound effects