add comments from pxt-microbit
This commit is contained in:
		@@ -248,8 +248,9 @@
 | 
				
			|||||||
  "serial.readUntil": "Reads a line of text from the serial port and returns the buffer when the delimiter is met.",
 | 
					  "serial.readUntil": "Reads a line of text from the serial port and returns the buffer when the delimiter is met.",
 | 
				
			||||||
  "serial.readUntil|param|delimiter": "text delimiter that separates each text chunk",
 | 
					  "serial.readUntil|param|delimiter": "text delimiter that separates each text chunk",
 | 
				
			||||||
  "serial.redirect": "Dynamically configuring the serial instance to use pins other than USBTX and USBRX.",
 | 
					  "serial.redirect": "Dynamically configuring the serial instance to use pins other than USBTX and USBRX.",
 | 
				
			||||||
  "serial.redirect|param|rx": "the new reception pin",
 | 
					  "serial.redirect|param|rate": "the new baud rate. eg: 115200",
 | 
				
			||||||
  "serial.redirect|param|tx": "the new transmission pins",
 | 
					  "serial.redirect|param|rx": "the new reception pin, eg: SerialPin.P1",
 | 
				
			||||||
 | 
					  "serial.redirect|param|tx": "the new transmission pins, eg: SerialPin.P0",
 | 
				
			||||||
  "serial.writeLine": "Prints a line of text to the serial",
 | 
					  "serial.writeLine": "Prints a line of text to the serial",
 | 
				
			||||||
  "serial.writeNumber": "Prints a numeric value to the serial",
 | 
					  "serial.writeNumber": "Prints a numeric value to the serial",
 | 
				
			||||||
  "serial.writeString": "Sends a piece of text through Serial connection.",
 | 
					  "serial.writeString": "Sends a piece of text through Serial connection.",
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								libs/core/shims.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								libs/core/shims.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -751,9 +751,9 @@ declare namespace serial {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Dynamically configuring the serial instance to use pins other than USBTX and USBRX.
 | 
					     * Dynamically configuring the serial instance to use pins other than USBTX and USBRX.
 | 
				
			||||||
     * @param tx the new transmission pins
 | 
					     * @param tx the new transmission pins, eg: SerialPin.P0
 | 
				
			||||||
     * @param rx the new reception pin
 | 
					     * @param rx the new reception pin, eg: SerialPin.P1
 | 
				
			||||||
     * @param baud the new baud rate. eg: 115200
 | 
					     * @param rate the new baud rate. eg: 115200
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    //% weight=10
 | 
					    //% weight=10
 | 
				
			||||||
    //% help=serial/redirect-to
 | 
					    //% help=serial/redirect-to
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user