This shows you the differences between two versions of the page.
built_in:sensors [2014/09/17 19:18] stevegarman created |
built_in:sensors [2018/01/03 10:23] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Sensor control ====== | ||
- | ===== Create ===== | ||
- | Create Sensor objects using the CreateSensor function of the app object: | ||
- | < | ||
- | Types available are: " | ||
- | You can use the SetOnChange function of the Sensor to set the name of a function you want to be called when a the changes occur. | ||
- | |||
- | Change the rate that a sensor checks for changes by adding one the options " | ||
- | ===== Methods ===== | ||
- | ^Method ^Description ^ | ||
- | |sns.GetAzimuth| | | ||
- | |sns.GetHeight| | | ||
- | |sns.GetPitch| | | ||
- | |sns.GetRoll| | | ||
- | |sns.GetVisibility| | | ||
- | |sns.GetWidth| | | ||
- | |sns.Release| | | ||
- | |sns.SetBackColor| | | ||
- | |sns.SetBackGradient| | | ||
- | |sns.SetBackGradientRadial| | | ||
- | |sns.SetBackground| | | ||
- | |sns.SetMargins| | | ||
- | |sns.SetMinChange| | | ||
- | |sns.SetOnChange| | | ||
- | |sns.SetPadding| | | ||
- | |sns.SetPosition| | | ||
- | |sns.SetSize| | | ||
- | |sns.SetVisibility| | | ||
- | |sns.Start| | | ||
- | |sns.Stop| | |