removing some serial functions

This commit is contained in:
Peli de Halleux 2016-04-06 07:00:34 -07:00
parent 6c9b609fe0
commit b80edb43fc
3 changed files with 0 additions and 40 deletions

View File

@ -126,15 +126,3 @@ This is useful if you have something connected at the other end. As explained ab
let msg = serial.readString()
```
* reads an image
```
img = serial.readImage()
```
* reads the state of the screen from serial
```
serial.readScreen()
```

View File

@ -19,20 +19,4 @@ namespace serial {
void writeString(StringData *text) {
uBit.serial.sendString(ManagedString(text));
}
/**
* Sends the current pixel values, byte-per-pixel, over serial.
*/
//%
void writeScreen() {
uBit.serial.sendDisplayState();
}
/**
* Reads the screen from serial.
*/
//%
void readScreen() {
uBit.serial.readDisplayState();
}
}

View File

@ -489,18 +489,6 @@ declare namespace serial {
*/
//% shim=serial::writeString
function writeString(text: string): void;
/**
* Sends the current pixel values, byte-per-pixel, over serial.
*/
//% shim=serial::writeScreen
function writeScreen(): void;
/**
* Reads the screen from serial.
*/
//% shim=serial::readScreen
function readScreen(): void;
}