Move buttons to TS

This commit is contained in:
Michal Moskal
2017-07-10 14:16:31 +01:00
parent 17488b5c6b
commit 768e8c60f5
11 changed files with 224 additions and 372 deletions

View File

@ -16,6 +16,14 @@ extern "C" int WriteToPWMDevice(char *bytes, int num_bytes);
//%
void writePWM(Buffer buf) {
WriteToPWMDevice((char*)buf->data, buf->length);
WriteToPWMDevice((char *)buf->data, buf->length);
}
}
namespace pxt {
void target_init() {
OutputInit();
SoundInit();
}
}
}