XDK110 BCDS
© Bosch Connected Devices and Solutions GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as
copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
XDK Guide Workbench First Steps
PLATFORM FOR APPLICATION DEVELOPMENT
The Workbench First Steps Guide provides the first steps in the usage of the XDK Workbench and the XDK.
This includes a major overview of the features of the XDK Workbench and how to get started with an own
application on the XDK. Additionally, some useful coding features of the XDK Workbench are described.
Table of Contents
This guide postulates a basic understanding of the XDK Workbench. For new users we recommend going
through the Workbench Installation guide at xdk.io/guides first.
1. XDK WORKBENCH STARTUP 3 .................................................................................................
1.1 OPENING THE XDK WORKBENCH 3 ...........................................................................................
1.2 XDK WORKBENCH – WORKSPACE (XDK VIEW) 5 ......................................................................
1.3 APPLICATION TEMPLATE 14 .......................................................................................................
2. HELLO WORLD CODE EXAMPLE 15 .........................................................................................
2.1 HELLO WORLD OPERATING TASK 15 .........................................................................................
2.2 HELLO WORLD TIMER TASK 17 .................................................................................................
3. SENSOR EXAMPLE 18 ................................................................................................................
3.1 INITIALIZING LIGHT SENSOR 18 .................................................................................................
3.2 READING LIGHT SENSOR 19 ......................................................................................................
4. USEFUL FEATURES OF THE XDK WORKBENCH 21 ...............................................................
4.1 SHOWING LINE NUMBERS 21 ....................................................................................................
4.2 ENABLING AUTOSAVE BEFORE BUILDING A PROJECT 21 ..............................................................
4.3 ADDING A NEW INTERFACE 21 ...................................................................................................
4.4 RENAME A PROJECT IN THE XDK WORKBENCH 23 ....................................................................
5. DOCUMENT HISTORY AND MODIFICATION 25........................................................................