You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+11-3
Original file line number
Diff line number
Diff line change
@@ -96,12 +96,20 @@ The Interactex Applications are constructed by drag and dropping objects. Here i
96
96
97
97
98
98
| UI Element | Name | Description | Methods |
99
-
| ———————————|—————-|—————————————|—————-———|
99
+
:---:| ---- |:---| ---|
100
100
 | Button | A button that can be pressed. Generates events when pressed and when released. |
101
+
 | Label | Displays text and numbers. | setText
102
+
 | Switch | Generates events when switched on or off. |
103
+
 | Slider | Delivers a value which can be used as input for other objects (ex. Frequency of a buzzer). |
104
+
 | Touchpad | Generates events when user performs following gestures on it: tap, double tap, pinch, pan, long press. |
105
+
 | Music Player | Accesses user’s music library and offers methods such as: play, stop, next and previous. | next, previous, play, pause
106
+
 | Image View | Displays an image. |
107
+
 | Contact Book | Accesses user’s contact book and offers functionality to iterate through contacts and make calls. | next, previous, call
108
+
 | Monitor | Displays sensor readings over time. At the moment it offers two methods: setValue1 and setValue2. Value1 will be displayed as a blue line and Value2 red. | setX, setY
101
109
102
110
103
111
Hardware Elements | Name | Description | Methods |
 | LED | Can be turned on or off and its intensity can be set (be sure to set the corresponding pin to PWM mode) | turnOn, turnOff, setItensity
106
114
 | Button | A Lilypad button that can be pressed. Generates events when pressed and when released. |
107
115
 | Switch | A Lilypad switch. Generates events when switched on or off. |
@@ -116,7 +124,7 @@ Hardware Elements | Name | Description | Methods |
116
124
117
125
118
126
Programming Elements | Name | Description | Methods |
 | Comparator | Compares two numbers A and B and generates an event depending on its configuration. If A is bigger than B and the Comparator is in ‘bigger’ mode, then the ‘conditionIsTrue’ even gets triggered. This event can, like any other event, be connected to other object’s methods. In order to set the values A and B that should be compared, connect an event that delivers a number value (such as the intensityChanged event of the Light Sensor) to the setValue1 method of the Comparator. To do this, a line should be drawn starting at the Light Sensor and ending on the Comparator. | setValue1, setValue2
121
129
 | Grouper | Compares two Boolean values (values that can be either true or false) and generates an event depending on whether both of them are true or only one of them is true. It is connected in a similar way to the Comparator. | setValue1, setValue2
122
130
 | Number Value | Represents a number (equivalent to a variable in programming). Can be used for example together with the comparator in order to detect when a specific object’s property (such as the buzzer’s frequency or the LED’s intensity) reaches a specific value. Generates an event when its value changes. This is the event that can be connected to the comparator. | setValue
0 commit comments