Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After completing this lesson, you will be able to:

  • explain use modules in KRL
  • wrap an extermal API call and make it available from a module
  • use the keys pragma for API keys

Prerequisites

You should have completed done the following before starting this lesson:

Modules

Modules make KRL programming easier. KRL has a powerful parameterized module facility. 

In this lesson, we're going to explore how modules can be used to wrap an external API and make it available inside a pico.