Download Design and Implementation of a Framework for Remote Automated

Transcript
Remote Environment Automation Framework
Peripheral Framework Developer Tutorial
This tutorial will walk you through the development of a simple peripheral. It is capable of
blinking the peripheral core's integrated LED. Before you begin, make sure that you have done
the following:



Install the peripheral framework by following the instructions in the Peripheral
Framework Installation Tutorial.
Educate yourself about the basics of callback programming.
Get a template for the peripheral core code, newPeripheral.zip
We will begin by generating the boilerplate code for the peripheral descriptor, then we will
write the peripheral descriptor methods. Finally, we will write the functions for the peripheral
core, and test that everything works correctly.
CODE GENERATION
1. Create an XML file to describe your new peripheral. This tutorial will use the following
XML (blinkDemo.xml):
1|Developer Tutorial
- 132 -