User`s guide

7.
Append
the
source
code
below
in
the
main
function
of
DeviceApp.cpp
.
int result;
result = SysGet180Rotate();
if(
result
==
FALSE
){
result = SysSet180Rotate( TRUE );
}
else{
result = SysSet180Rotate( FALSE );
}
8.
Choose
Properties
in
the
Project
of
Visual
Studio
2005,
and
navigate
to
Configuration
Properties Linker Input Additional Dependencies and then append
SystemLib.lib (see red circle).
Figure
8.6
9.
Choose
DT-X7
Device
for
the
Target
Device
to
establish
connection
with
the
PC.
10. Choose Debug in Visual Studio 2005 and then click either Start Debugging or Start
Without Debugging.
11. The project will be built and copied to the “\Program Files\<name of project>” folder (by default)
in the DT-X7.
12. Check that the program runs correctly on the DT-X7.
58