
目录
Foreword .....................................................................................................................................................i
Reader Scope ......................................................................................................................................i
Related Agreement ..............................................................................................................................i
Terminology Convention................................................................................................................i
Symbolic Convention ....................................................................................................................i
Safety Instructions...................................................................................................................................... ii
1SDK Overview................................................................................................................................. 1-1
1.1 SDK Introduction............................................................................................................... 1-2
1.2 SDK Composition.............................................................................................................. 1-3
2Function Description ....................................................................................................................... 2-1
2.1 IO Control ......................................................................................................................... 2-2
2.1.1 Flow Diagram............................................................................................................. 2-2
2.1.2 Getting Instance and Initializing ................................................................................. 2-2
2.1.3 Event Callback Function ............................................................................................ 2-2
2.1.4 Controlling IO............................................................................................................. 2-3
2.1.5 Controlling light .......................................................................................................... 2-4
2.1.6 Source File................................................................................................................. 2-5
2.2 Sensor Control .................................................................................................................. 2-9
2.2.1 Flow Diagram............................................................................................................. 2-9
2.2.2 Operating Steps......................................................................................................... 2-9
2.2.3 Source File................................................................................................................2-11
3Example .......................................................................................................................................... 3-1
3.1 Writing Code ..................................................................................................................... 3-2
3.2 Compiling and Running Code ........................................................................................... 3-3