Digital switch header

This page contains the complete code of the header file in this chapter.

In DigitalSwitch.h, your Digital Switch code should be as follows:

#pragma once

#include "RT_Project_01.h"
#include "SingleAxisMotion.h"
#include "GroupMotion.h"
#include "DigitalSwitch.h"
#include <vector>
using namespace std;