This is a C-language tutorial for the 8-core Propeller microcontroller. It features the Propeller Activity Board (original or WX version) but other Propeller boards will work, with special considerations. Watch for board compatibility notes.
What it is about
This tutorial shows you step-by-step how to make your own custom library that works well with the Propeller C Tutorials. You will:
- Move functions you have created into your own custom library.
- Set up the library to reduce program code size.
- Learn how to share values within and between source files.
- Test your library with a test harness and application code.
- Document your library with an Doxygen-generated HTML page.

Before you start
We advise completing all of the following steps before beginning Library Studies:
- Set up the SimpleIDE software and your Propeller board
- Update your Learn Libraries
- Complete the Propeller C – Start Simple and Propeller C – Functions tutorials.
After you finish
- You will be able to save any interesting functions you create into your own custom library, so you can easily re-use them in any application you like!
- You will better understand the Simple Libraries included in the SimpleIDE Learn folder, and create custom modified versions of them if you desire.
Curriculum
- 1 Section
- 10 Lessons
- Lifetime
Expand all sectionsCollapse all sections
- Propeller C Library Studies10
- 1.1How to Create a Simple Library
- 1.2Add Header and Source Files
- 1.3Create and Test the Library
- 1.4Reduce Program Size with a Simple Library
- 1.5Sharing Values in Source Files
- 1.6Functions in Same File Sharing Variables
- 1.7Functions in Multiple Files Sharing Variables
- 1.8Important Header Features
- 1.9Document Your Simple Library
- 1.10Make the Page with Doxygen