pxt-ev3/libs/core/output.cpp
2017-12-18 13:04:17 -08:00

32 lines
374 B
C++

#include "pxt.h"
#include "ev3const.h"
namespace output {
/**
* Create a new zero-initialized buffer.
* @param size number of bytes in the buffer
*/
//%
Buffer createBuffer(int size) {
return mkBuffer(NULL, size);
}
}
namespace pxt {
void target_init() {
}
}
namespace motors {
/**
* Mark a motor as used
*/
//%
void __motorUsed(int port, bool large) {
}
}