finished english language and testing of compiling
This commit is contained in:
		
							parent
							
								
									dbc7fdc7ab
								
							
						
					
					
						commit
						32372bc222
					
				| @ -519,6 +519,7 @@ Blockly.Blocks["sensebox_soundsensor_dfrobot"] = { | |||||||
| /** | /** | ||||||
|  * rainsensor hydreon rg-15  |  * rainsensor hydreon rg-15  | ||||||
|  */ |  */ | ||||||
|  | 
 | ||||||
| Blockly.Blocks["sensebox_rainsensor_hydreon_rg15"] = { | Blockly.Blocks["sensebox_rainsensor_hydreon_rg15"] = { | ||||||
|   init: function () { |   init: function () { | ||||||
|     var dropdownOptionsPorts = [ |     var dropdownOptionsPorts = [ | ||||||
|  | |||||||
| @ -667,7 +667,7 @@ Blockly.Arduino.sensebox_rainsensor_hydreon_rg15 = function () { | |||||||
|   Blockly.Arduino.setupCode_["setup_rainsensor_rg15"] = "rainsensor_" + port + ".begin();"; |   Blockly.Arduino.setupCode_["setup_rainsensor_rg15"] = "rainsensor_" + port + ".begin();"; | ||||||
|   Blockly.Arduino.loopCodeOnce_["loop_rainsensor_rg15"] = "rainsensor_" + port + ".readAllData();" |   Blockly.Arduino.loopCodeOnce_["loop_rainsensor_rg15"] = "rainsensor_" + port + ".readAllData();" | ||||||
| 
 | 
 | ||||||
|   var code = "rainsensor_" + port + "." + value + "();"; |   var code = "rainsensor_" + port + "." + value + "()"; | ||||||
|   return [code, Blockly.Arduino.ORDER_ATOMIC]; |   return [code, Blockly.Arduino.ORDER_ATOMIC]; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -146,7 +146,7 @@ Wenn die maximale Distanz überschritten wird, wird ein Wert von **O** ausgegebe | |||||||
|   sensebox_rainsensor_hydreon_rg15_eventAcc: "Niederschlag pro Event in mm", |   sensebox_rainsensor_hydreon_rg15_eventAcc: "Niederschlag pro Event in mm", | ||||||
|   sensebox_rainsensor_hydreon_rg15_acc: "Niederschlag seit letzter Messung in mm", |   sensebox_rainsensor_hydreon_rg15_acc: "Niederschlag seit letzter Messung in mm", | ||||||
|   sensebox_rainsensor_hydreon_rg15_tooltip: "Regensensor (RG-15) an einen der Seriellen Ports anschließen.", |   sensebox_rainsensor_hydreon_rg15_tooltip: "Regensensor (RG-15) an einen der Seriellen Ports anschließen.", | ||||||
|   sensebox_rainsensor_hydreon_rg15_helpurl: "TODO", |   sensebox_rainsensor_hydreon_rg15_helpurl: "https://rainsensors.com/products/rg-15/", | ||||||
| 
 | 
 | ||||||
|   /* |   /* | ||||||
|   * BME680 |   * BME680 | ||||||
|  | |||||||
| @ -134,6 +134,21 @@ If the max distance is reached the a value of **O** will be returned`, | |||||||
|   senseBox_soundsensor_dfrobot_helpurl: |   senseBox_soundsensor_dfrobot_helpurl: | ||||||
|     "https://en.docs.sensebox.de/hardware/sensoren-lautstaerke/", |     "https://en.docs.sensebox.de/hardware/sensoren-lautstaerke/", | ||||||
| 
 | 
 | ||||||
|  |   /* | ||||||
|  |   * rainsensor hydreon rg-15 | ||||||
|  |   */ | ||||||
|  |   sensebox_rainsensor_hydreon_rg15: "Rainsensor (RG-15)", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_port: "Serial Port:", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_serial1: "Serial1", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_serial2: "Serial2", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_value: "value:", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_totalAcc: "total Accumulation in mm", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_rainInt: "Rainfall Intensity in mm/h", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_eventAcc: "Accumulation per Event in mm", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_acc: "Accumulation since last loop in mm", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_tooltip: "Connect Rainsensor (RG-15) to one of the Serial ports.", | ||||||
|  |   sensebox_rainsensor_hydreon_rg15_helpurl: "https://rainsensors.com/products/rg-15/", | ||||||
|  | 
 | ||||||
|   /* |   /* | ||||||
|    * BME680 |    * BME680 | ||||||
|    */ |    */ | ||||||
|  | |||||||
| @ -76,7 +76,6 @@ class Toolbox extends React.Component { | |||||||
|           <Block type="sensebox_sensor_watertemperature" /> |           <Block type="sensebox_sensor_watertemperature" /> | ||||||
|           {/* <Block type="sensebox_windspeed" /> */} |           {/* <Block type="sensebox_windspeed" /> */} | ||||||
|           <Block type="sensebox_soundsensor_dfrobot" /> |           <Block type="sensebox_soundsensor_dfrobot" /> | ||||||
|           <Block type="sensebox_rainsensor_hydreon_rg15_init" /> |  | ||||||
|           <Block type="sensebox_rainsensor_hydreon_rg15" /> |           <Block type="sensebox_rainsensor_hydreon_rg15" /> | ||||||
|           <Block type="sensebox_multiplexer_init"> |           <Block type="sensebox_multiplexer_init"> | ||||||
|             <Value name="nrChannels"> |             <Value name="nrChannels"> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user