merging ksbit.h into pxt.h

This commit is contained in:
Peli de Halleux
2016-11-29 21:35:26 -08:00
parent e0c016fbf4
commit 19fb5ecf01
12 changed files with 15 additions and 18 deletions

View File

@ -9,6 +9,7 @@
#include "MicroBitImage.h"
#include "ManagedString.h"
#include "ManagedType.h"
#include "ManagedBuffer.h"
#define printf(...) uBit.serial.printf(__VA_ARGS__)
// #define printf(...)
@ -295,6 +296,11 @@ namespace pxt {
};
}
using namespace pxt;
MicroBitPin *getPin(int id);
typedef ImageData* Image;
typedef BufferData* Buffer;
// The ARM Thumb generator in the JavaScript code is parsing
// the hex file and looks for the magic numbers as present here.
//