mirror of
https://github.com/brendanhaines/RasPi.git
synced 2024-11-09 16:44:40 -07:00
15 lines
387 B
C++
15 lines
387 B
C++
|
#include <iostream>
|
||
|
#include "v2DSM2.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int main(int argc, char const *argv[])
|
||
|
{
|
||
|
v2DSM2 dsm;
|
||
|
while( true )
|
||
|
{
|
||
|
dsm.update();
|
||
|
cout << "THRO " << dsm.values[0] << "\tAILE " << dsm.values[1] << "\tELEV " << dsm.values[2] << "\tRUDD " << dsm.values[3] << "\tGEAR " << dsm.values[4] << "\tAUX1 " << dsm.values[5] << endl;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|