![SeaLevel Relio R9 Скачать руководство пользователя страница 42](http://html1.mh-extra.com/html/sealevel/relio-r9/relio-r9_user-manual_1223907042.webp)
42
© Sealevel Systems, Inc. R91001 Manual | SL9211 11/2022
Now that the Talos Framework has been referenced, you have access to all the I/O points exposed on the
Relio R9 device.
For this simple HelloWorld application, we will just echo the string “Hello World” in the console window.
This can be accomplished by adding the following code to the automatically created Program::Main()
method. This code will echo “Hello World” and then pause for 5 seconds.
static
void
Main(
string
[] args)
{
Console
.WriteLine(
"Hello World"
);
System.Threading.
Thread
.Sleep(5000);
}
From Visual Studio’s menu bar, select “Build
Build HelloWorld”. After the build process has completed
select from the same menu bar, “Build
Deploy HelloWorld”. A “Deploy HelloWorld” dialog will appear for
you to choose the appropriate target. Choose “Windows CE Device” then press the ‘Deploy’ button. (See
Figure 14.)
Figure 14
- Choose Windows CE Device and Deploy
After the deployment phase the “Hello World” message will appear on the Debug Serial console output.
Examples can be found from the installation directory under ‘..\R9 Development\Samples\C#’ and ‘..\R9
Development\Samples\VB.NET’.