removing some serial functions

This commit is contained in:
Peli de Halleux committed 2016-04-06 07:00:34 -07:00
1 parent 6c9b609fe0
commit b80edb43fc
3 files changed
-40

No files matched your search

-16
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();
}
}
-12
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;
}