![Echelon FT 6000 Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/echelon/ft-6000/ft-6000_hardware-manual_3886505025.webp)
#endif // FT6000EVALBOARD_USE_SERIALDEBUG
The
Switch.nc
and
LED.nc
files in the example device applications store various values in strings and
then call the
EvalBoardPrintDebug()
function to output the strings to the serial interface.
if (bOn) {
// Toggle the state of the switch
nvoSwitch[0].state ^= 1;
nvoSwitch[0].value = nvoSwitch[0].state ? 200u : 0;
// Copy to feedback NV
nviSwitchFb[0] = nvoSwitch[0];
(void)strcpy(string, "Switch 1 pressed\r\n");
EvalBoardPrintDebug(string);
}
else {
(void)strcpy(string, "Switch 1 released\r\n");
EvalBoardPrintDebug(string);
}
You can view the source code for the FT 6000 EVB example device applications by clicking
Start
,
pointing to
Programs
, pointing to
Echelon NodeBuilder
, pointing to
Examples,
pointing to
FT 6000
EVB
, clicking the desired
Example Source Code
folder, and then clicking the Source folder. See the
FT 6000 EVB Examples Guide
for more information on the example device applications you can run
on your FT 6000 EVB.
LCD 5V Power (JP33)
This jumper provides 5V power for the LCD on the FT 6000 EVB. If you are using the FT 6000 EVB
example applications or you are developing a device application that uses the LCD, leave this jumper
connected as illustrated in the following figure:
FT 6000 EVB Hardware Guide
17
Содержание FT 6000
Страница 32: ...24 FT 6000 EVB Hardware Details...
Страница 35: ......