fixing doc links. fix for #49

This commit is contained in:
Peli de Halleux 2016-04-22 12:37:47 -07:00
parent 3906f06a2f
commit 9e073aee36

View File

@ -7,7 +7,7 @@ namespace serial {
* Prints a line of text to the serial * Prints a line of text to the serial
* @param value to send over serial * @param value to send over serial
*/ */
//% help=/serial/write-line //% help=serial/write-line
//% blockId=serial_writeline block="serial|write %text" //% blockId=serial_writeline block="serial|write %text"
export function writeLine(text: string): void { export function writeLine(text: string): void {
writeString(text); writeString(text);
@ -27,7 +27,7 @@ namespace serial {
* @param value to write * @param value to write
*/ */
//% weight=80 //% weight=80
//% help=/serial/write-value //% help=serial/write-value
//% blockId=serial_writevalue block="serial|write %name|= %value" //% blockId=serial_writevalue block="serial|write %name|= %value"
export function writeValue(name: string, value: number): void { export function writeValue(name: string, value: number): void {
writeString(name); writeString(name);