pxt-ev3/libs/core/output.cpp

32 lines
374 B
C++
Raw Permalink Normal View History

2017-07-07 16:15:36 +02:00
#include "pxt.h"
#include "ev3const.h"
2017-07-07 16:15:36 +02:00
namespace output {
/**
* Create a new zero-initialized buffer.
* @param size number of bytes in the buffer
*/
//%
Buffer createBuffer(int size) {
return mkBuffer(NULL, size);
}
2017-07-10 15:16:31 +02:00
}
namespace pxt {
void target_init() {
}
2017-07-11 16:44:35 +02:00
2017-07-07 16:15:36 +02:00
}
2017-12-18 22:04:17 +01:00
namespace motors {
/**
* Mark a motor as used
*/
//%
void __motorUsed(int port, bool large) {
}
}