| 1 | 'use strict'; |
| 2 | Blockly.Msg["variables_get_dynamic"] = ""; |
| 3 | Blockly.Msg["variables_set_dynamic"] = ""; |
| 4 | Blockly.Msg["variables_get"] = ""; |
| 5 | Blockly.Msg["variables_set"] = ""; |
| 6 | Blockly.Msg["text"] = ""; |
| 7 | Blockly.Msg["text_multiline"] = ""; |
| 8 | Blockly.Msg["text_join"] = ""; |
| 9 | Blockly.Msg["text_create_join_container"] = ""; |
| 10 | Blockly.Msg["text_create_join_item"] = ""; |
| 11 | Blockly.Msg["text_append"] = ""; |
| 12 | Blockly.Msg["text_length"] = ""; |
| 13 | Blockly.Msg["text_isEmpty"] = ""; |
| 14 | Blockly.Msg["text_indexOf"] = ""; |
| 15 | Blockly.Msg["text_charAt"] = ""; |
| 16 | Blockly.Msg["text_getSubstring"] = ""; |
| 17 | Blockly.Msg["text_changeCase"] = ""; |
| 18 | Blockly.Msg["text_trim"] = ""; |
| 19 | Blockly.Msg["text_print"] = ""; |
| 20 | Blockly.Msg["text_prompt_ext"] = ""; |
| 21 | Blockly.Msg["text_prompt"] = ""; |
| 22 | Blockly.Msg["text_count"] = ""; |
| 23 | Blockly.Msg["text_replace"] = ""; |
| 24 | Blockly.Msg["text_reverse"] = ""; |
| 25 | Blockly.Msg["procedures_defnoreturn"] = ""; |
| 26 | Blockly.Msg["procedures_defreturn"] = ""; |
| 27 | Blockly.Msg["procedures_mutatorcontainer"] = ""; |
| 28 | Blockly.Msg["procedures_mutatorarg"] = ""; |
| 29 | Blockly.Msg["procedures_callnoreturn"] = ""; |
| 30 | Blockly.Msg["procedures_callreturn"] = ""; |
| 31 | Blockly.Msg["procedures_ifreturn"] = ""; |
| 32 | Blockly.Msg["math_number"] = ""; |
| 33 | Blockly.Msg["math_arithmetic"] = ""; |
| 34 | Blockly.Msg["math_single"] = ""; |
| 35 | Blockly.Msg["math_trig"] = ""; |
| 36 | Blockly.Msg["math_constant"] = ""; |
| 37 | Blockly.Msg["math_number_property"] = ""; |
| 38 | Blockly.Msg["math_change"] = ""; |
| 39 | Blockly.Msg["math_round"] = ""; |
| 40 | Blockly.Msg["math_on_list"] = ""; |
| 41 | Blockly.Msg["math_modulo"] = ""; |
| 42 | Blockly.Msg["math_constrain"] = ""; |
| 43 | Blockly.Msg["math_random_int"] = ""; |
| 44 | Blockly.Msg["math_random_float"] = ""; |
| 45 | Blockly.Msg["math_atan2"] = ""; |
| 46 | Blockly.Msg["controls_repeat_ext"] = ""; |
| 47 | Blockly.Msg["controls_repeat"] = ""; |
| 48 | Blockly.Msg["controls_whileUntil"] = "Block for implementing an infinite loop"; |
| 49 | Blockly.Msg["controls_for"] = ""; |
| 50 | Blockly.Msg["controls_forEach"] = ""; |
| 51 | Blockly.Msg["controls_flow_statements"] = ""; |
| 52 | Blockly.Msg["logic_boolean"] = ""; |
| 53 | Blockly.Msg["controls_if"] = "Logical IF statement"; |
| 54 | Blockly.Msg["controls_ifelse"] = ""; |
| 55 | Blockly.Msg["logic_compare"] = ""; |
| 56 | Blockly.Msg["logic_operation"] = ""; |
| 57 | Blockly.Msg["logic_negate"] = ""; |
| 58 | Blockly.Msg["logic_null"] = ""; |
| 59 | Blockly.Msg["logic_ternary"] = ""; |
| 60 | Blockly.Msg["controls_if_if"] = ""; |
| 61 | Blockly.Msg["controls_if_elseif"] = ""; |
| 62 | Blockly.Msg["controls_if_else"] = ""; |
| 63 | Blockly.Msg["lists_create_empty"] = ""; |
| 64 | Blockly.Msg["lists_repeat"] = ""; |
| 65 | Blockly.Msg["lists_reverse"] = ""; |
| 66 | Blockly.Msg["lists_isEmpty"] = ""; |
| 67 | Blockly.Msg["lists_length"] = ""; |
| 68 | Blockly.Msg["lists_create_with"] = ""; |
| 69 | Blockly.Msg["lists_create_with_container"] = ""; |
| 70 | Blockly.Msg["lists_create_with_item"] = ""; |
| 71 | Blockly.Msg["lists_indexOf"] = ""; |
| 72 | Blockly.Msg["lists_getIndex"] = ""; |
| 73 | Blockly.Msg["lists_setIndex"] = ""; |
| 74 | Blockly.Msg["lists_getSublist"] = ""; |
| 75 | Blockly.Msg["lists_sort"] = ""; |
| 76 | Blockly.Msg["lists_split"] = ""; |
| 77 | Blockly.Msg["colour_picker"] = ""; |
| 78 | Blockly.Msg["colour_random"] = ""; |
| 79 | Blockly.Msg["colour_rgb"] = ""; |
| 80 | Blockly.Msg["colour_blend"] = ""; |
| 81 | Blockly.Msg["cs_start_audio"] = ""; |
| 82 | Blockly.Msg["cs_start_audio_listen"] = ""; |
| 83 | Blockly.Msg["cs_start_timer"] = "Start A stopwatch with mS resolution"; |
| 84 | Blockly.Msg["cs_get_timer"] = "Read the stopwatch's current value.<br><br>You need to start a stopwatch first"; |
| 85 | Blockly.Msg["get_phone_accel"] = "Measure the phone's accelerometer values in 3 axes"; |
| 86 | Blockly.Msg["get_phone_rotation"] = "Measure the phone's rotation values in 3 axes. Most android phones measure this using a combination of the accelerometer and the magnetometer"; |
| 87 | Blockly.Msg["get_phone_light"] = "Measure light intensity falling on the phone's luminosity sensor. This sensor is usually located adjacent to the front camera"; |
| 88 | Blockly.Msg["wait_seconds"] = "Pause the program for the specified number of seconds."; |
| 89 | Blockly.Msg["write_to_file"] = "Write data to a file."; |
| 90 | Blockly.Msg["average_array"] = "Calculate the average of a list"; |
| 91 | Blockly.Msg["sum_array"] = "Calculate the sum of a list"; |
| 92 | Blockly.Msg["sine_fit_arrays"] = "Fit a set of X(Time) and Y(Amplitude) datapoints to a standard sine function and extract the frequency/amplitude/phase"; |
| 93 | Blockly.Msg["sine_fit_two_arrays"] = "Fit two sets of X(Time) and Y1(Amplitude),Y2(amplitude of signal 2) datapoints to a standard sine function and extract the frequency ratio/amplitude ratio/phase difference"; |
| 94 | Blockly.Msg["fourier_transform"] = "Calculate the fourier transform using Columbia FFT algorithm"; |
| 95 | Blockly.Msg["lists_push"] = "Add an item to a list"; |
| 96 | Blockly.Msg["lists_push_time"] = "Add an item to a list along with a timestamp"; |
| 97 | Blockly.Msg["lists_new"] = "Create a new list"; |
| 98 | Blockly.Msg["lists_subtract"] = "Calculate the difference between two lists. Both lists must have the same size. List A is assigned the new value"; |
| 99 | Blockly.Msg["lists_subtract_return"] = "Subtract 2 lists and return the value"; |
| 100 | Blockly.Msg["save_lists"] = "Save lists into a file"; |
| 101 | Blockly.Msg["cs_print"] = ""; |
| 102 | Blockly.Msg["cs_sticker"] = "Display a variable's value at the same location in the output screen in the form of a sticker"; |
| 103 | Blockly.Msg["cs_search"] = ""; |
| 104 | Blockly.Msg["cs_gauge"] = "An analog gauge"; |
| 105 | Blockly.Msg["add_game"] = "Add a bird game"; |
| 106 | Blockly.Msg["stop_game"] = ""; |
| 107 | Blockly.Msg["set_bird_y"] = ""; |
| 108 | Blockly.Msg["add_piano"] = ""; |
| 109 | Blockly.Msg["play_piano"] = ""; |
| 110 | Blockly.Msg["registerService"] = ""; |
| 111 | Blockly.Msg["connectService"] = ""; |
| 112 | Blockly.Msg["hasMessage"] = ""; |
| 113 | Blockly.Msg["receiveMessage"] = ""; |
| 114 | Blockly.Msg["sendMessage"] = ""; |
| 115 | Blockly.Msg["set_phone_frequency"] = "Generates an audio output of the specified frequency, using the phone's audio system.<br><br> Tested for frequencies less than 3000 Hz."; |
| 116 | Blockly.Msg["set_phone_frequency_stereo"] = ""; |
| 117 | Blockly.Msg["stop_phone_frequency"] = "Stops the frequency output from the phone. Which will also stop automatically after 10 seconds anyway"; |
| 118 | Blockly.Msg["get_voltage"] = "Measures the voltage between the selected input and any GND pin.<br><br>For A1 and A2, maximum range +/-16 Volts. For A3 it is +/-3V."; |
| 119 | Blockly.Msg["get_resistance"] = "Measures the Resistance between SEN and Ground. Usable between 100 Ohms and 100 kOhms. "; |
| 120 | Blockly.Msg["get_capacitance"] = "Measures capacitance between IN1 and GND. Connect the capacitor between IN1 and any GND pin. Works from a few pF to 100uF. "; |
| 121 | Blockly.Msg["select_range"] = "Selects the voltage range of A1 or A2. Selected range should be higher than the voltage to be measured, and choosing the correct range ensures maximum resolution without losing any useful information. This call is required for Capture calls."; |
| 122 | Blockly.Msg["set_voltage"] = "Sets the specified DC voltage on PV1 or PV2. Range of PV1 is from -5 to +5 volts. PV2 from -3.3 to +3.3 volts"; |
| 123 | Blockly.Msg["select_sine_amp"] = "Sets the amplitude of the sinewave on WG to 3V, 1V or 80mV. Add a 100mS delay after using this"; |
| 124 | Blockly.Msg["set_frequency"] = "Sets the frequency of WG, SQ1 or SQ2. WG can be set from 5Hz to 5kHz. Square waves can be set upto 1 MHz but all intermediate values are not possible.<br>Add a one second delay after setting WG"; |
| 125 | Blockly.Msg["get_frequency"] = "Measure the frequency of voltage signals applied to the selected input(IN2 or SEN).<br>The Voltage must oscillate between 0V(LOW) and 3.3V/5V(HIGH).<br><br>The time delay between 16 LOW to HIGH transitions is measured in order to estimate the frequency"; |
| 126 | Blockly.Msg["multi_r2r"] = "Measures the time interval between 2 rising egdes of a Square wave connected to IN1 or SEN. The number of rising edges to be skipped can be specified."; |
| 127 | Blockly.Msg["singlePinEdges"] = "Measures the time interval between the voltage transitions applied to a digital input (SEN or IN2). Number of cycles between"; |
| 128 | Blockly.Msg["singlePinEdgesAction"] = "Measures the time interval between changing a digital output (OD1, SQ1 or SQ2) and a resulting transition on a digital input (SEN or IN2)"; |
| 129 | Blockly.Msg["capture1"] = "Capture the voltage waveform applied to (A1,A2,A3,MIC,IN1 or SEN). Number of points to be digitized and the time interval between two samples are specified.<br>For example 500 points with a 5 micro second timegap captures the input voltage for 2.5 milliseconds. By default, the results are stored to the lists named timestamps and data1, the names can be changed."; |
| 130 | Blockly.Msg["capture2"] = "Simultaneously captures two inputs. The first one could be set to A1, A2, A3, SEN, IN1 or MIC. The second one is A2."; |
| 131 | Blockly.Msg["capture4"] = "Simultaneously captures four inputs. The first one could be set to A1, A2, A3, SEN, IN1 or MIC. The remaining are A2, A3 and MIC."; |
| 132 | Blockly.Msg["scope_trigger"] = "Trigger value sets the voltage at which the digitization process starts. The binary value ranges from 0 to 1023 and setting this to 512 implies zero volts for A1, A2 and A3."; |
| 133 | Blockly.Msg["capture1_plot"] = "Capture the voltage waveform on (A1,A2,A3,MIC,IN1 or SEN) and plots it. Number of points to be digitized and the time interval between two samples can be specified."; |
| 134 | Blockly.Msg["capture_action_plot"] = "Capture the voltage waveform on (A1,A2,A3,MIC,IN1 or SEN) and plots it, after performing a level change on OD1.<br> Number of points to be digitized and the time interval between two samples can be specified."; |
| 135 | Blockly.Msg["read_SR04"] = "The SR04 ultrasound echo sensor must be connected as follows.<br>Vcc:5V, Trig:SQ2, Echo:IN2, GND:GND .<br>This can returns the distance (in centimeters) from the SR04 sensor to a level surface placed in front of it.;"; |
| 136 | Blockly.Msg["read_HX711"] = ""; |
| 137 | Blockly.Msg["read_VOLTS"] = ""; |
| 138 | Blockly.Msg["set_state"] = "Sets the voltage level on outputs OD1, SQ1 or SQ2. The square wave generators can act as digital outputs."; |
| 139 | Blockly.Msg["set_servo"] = ""; |
| 140 | Blockly.Msg["generic_slider"] = ""; |
| 141 | Blockly.Msg["generic_slider_value"] = ""; |
| 142 | Blockly.Msg["set_frequency_slider"] = "Creates a Slider widget to control the frequency of WG, SQ1 or SQ2. The upper and lower values can be specified."; |
| 143 | Blockly.Msg["set_voltage_slider"] = "Creates a Slider widget to control the voltage at PV1 or PV2"; |
| 144 | Blockly.Msg["scanI2C"] = ""; |
| 145 | Blockly.Msg["scanI2CString"] = ""; |
| 146 | Blockly.Msg["scanI2Cselector"] = ""; |
| 147 | Blockly.Msg["read_I2C_sensor"] = ""; |
| 148 | Blockly.Msg["read_i2c_sensor_flexible"] = ""; |
| 149 | Blockly.Msg["read_i2c_sensor_flexible_dynamic"] = "Press the SCAN I2C button to generate a list of connected devices, based on their ID numbers. You need to choose the correct one. The parameter to be measured also may be selected. If you exactly know which I2C sensor is connected then use the block for that sensor"; |
| 150 | Blockly.Msg["read_i2c_sensor_flexible_dynamic_array"] = "Pressing the SCAN I2C button (while building the code0 generate a list of connected devices, based on their ID numbers. You need to choose the correct one. If you exactly know which I2C sensor is connected then use the block for that sensor"; |
| 151 | Blockly.Msg["read_BMP280"] = "Pressure sensor with I2C interface"; |
| 152 | Blockly.Msg["read_MS5611"] = "Pressure sensor with I2C interface"; |
| 153 | Blockly.Msg["read_TSL2561"] = "Luminosity Sensor with I2C interface"; |
| 154 | Blockly.Msg["read_TSL2591"] = "Luminosity Sensor with I2C interface"; |
| 155 | Blockly.Msg["read_MAX30100"] = "Pulse Oximeter heartrate sensor with I2C interface."; |
| 156 | Blockly.Msg["read_MAX6675"] = "Thermocouple module with I2C interface."; |
| 157 | Blockly.Msg["read_MPU6050"] = "Six axis Accelerometer/Gyroscope module with I2C interface."; |
| 158 | Blockly.Msg["read_VL53L0X"] = "Distance measurement using LIDAR, I2C module."; |
| 159 | Blockly.Msg["read_ML8511"] = "Ultraviolet light measurement module, I2C."; |
| 160 | Blockly.Msg["read_TCS34725"] = "RGB color sensor module, I2C."; |
| 161 | Blockly.Msg["read_INA219"] = "High side current measurement module, I2C."; |
| 162 | Blockly.Msg["read_ADS1115"] = "four channel 16bit ADC module, I2C."; |
| 163 | Blockly.Msg["read_HMC5883L"] = "Triple axis magnetometer, I2C."; |
| 164 | Blockly.Msg["read_QMC5883L"] = "3-axix magnetc filed sensor module, I2C"; |
| 165 | Blockly.Msg["set_PCA9685"] = "16 channel 12bit servo motor driver module, I2C"; |
| 166 | Blockly.Msg["set_AD9833"] = "programmable Sine wave generator module, I2C."; |
| 167 | Blockly.Msg["plot_datapoint"] = ""; |
| 168 | Blockly.Msg["plot_datapoints"] = ""; |
| 169 | Blockly.Msg["plot_scale"] = ""; |
| 170 | Blockly.Msg["plot_scale_x"] = ""; |
| 171 | Blockly.Msg["plot_scale_y"] = ""; |
| 172 | Blockly.Msg["plot_xyarray"] = "Plots a graph, X and Y coordinates are provided as two lists"; |
| 173 | Blockly.Msg["plot_xyyarray"] = "Plots two graphs from three sets of data points. First one for X-axis of both the graphs."; |
| 174 | Blockly.Msg["plot_xyyyarray"] = "Plots two graphs from four sets of data points. First one for X-axis of all the three graphs."; |
| 175 | Blockly.Msg["plot_xy"] = "Plots a point using the X and Y coordinates provided."; |
| 176 | Blockly.Msg["plot_radar"] = ""; |
| 177 | Blockly.Msg["start_camera"] = ""; |
| 178 | Blockly.Msg["choose_blob_shade"] = ""; |
| 179 | Blockly.Msg["get_frame"] = ""; |
| 180 | Blockly.Msg["to_gray"] = ""; |
| 181 | Blockly.Msg["subtract_bg"] = ""; |
| 182 | Blockly.Msg["cv_subtract"] = ""; |
| 183 | Blockly.Msg["get_blobs"] = ""; |
| 184 | Blockly.Msg["get_biggest_circle"] = ""; |
| 185 | Blockly.Msg["get_lines"] = ""; |