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
/** Target (many) or Commander (only can be 1)? This is set inside .initialiseCommunication() and does not change thereon. */
@@ -135,15 +135,15 @@ namespace microdata {
135
135
136
136
/** The Target needs to build a list of sensors from sensor names, configure them according to the Commander's specification, then pass that to the recorder */
137
137
privatesensors: Sensor[]
138
-
138
+
139
139
//--------------------------
140
140
// Commander only Variables:
141
141
//--------------------------
142
-
142
+
143
143
privatestaticnextMicrobitIDToIssue: number;
144
144
publicnumberOfTargetsConnected: number;
145
145
privatecallbackObj: ITargetDataLoggedCallback;
146
-
146
+
147
147
/** Should the target send each row of data it logs back to the Commander? See DistributedLoggingProtocol.log() */
* Message with 'NETWORK_COMMAND.START_LOGGING' -> 'radio.onReceivedString(getSensorConfigData)'
301
301
* @param receivedString The first message in a command; SENDER_ID + NETWORK_COMMAND + ?ADDITIONAL_INFO (number of future messages for START_LOGGING as an example)
Copy file name to clipboardExpand all lines: headlessMode.ts
+25-26Lines changed: 25 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ namespace microdata {
38
38
};
39
39
40
40
/** For module inside of B button. */
41
-
constSENSOR_SELECTION_SIZE=4;
41
+
constUI_SENSOR_SELECT_STATE_LEN=5;
42
42
/** How long should each LED picture be shown for? Series of pictures divide this by how many there are. */
43
43
constSHOW_EACH_SENSOR_FOR_MS: number=1000;
44
44
@@ -57,7 +57,7 @@ namespace microdata {
57
57
*
58
58
* Fibers and special waiting functions .waitUntilSensorSelectStateChange & .waitUntilUIModeChanges are required to maintain low-latency and the dynamic behaviour described above.
0 commit comments