Starting sensor support

This commit is contained in:
Michal Moskal
2017-07-08 11:16:12 +01:00
parent b86a552a5b
commit 51b22e2d93
6 changed files with 130 additions and 1 deletions

View File

@ -23,6 +23,10 @@ declare interface MMap {
/** Returns the length of a Buffer object. */
//% property shim=MMapMethods::length
length: int32;
/** Perform ioctl(2) on the underlaying file */
//% shim=MMapMethods::ioctl
ioctl(id: uint32, data: Buffer): void;
}
declare namespace control {