Start on direct CPP migration
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
//% shim=foo::bar
|
||||
function test() {
|
||||
}
|
||||
|
||||
basic.plotLeds(`
|
||||
# # . # #
|
||||
. . # . .
|
||||
@ -10,4 +6,4 @@ basic.plotLeds(`
|
||||
. # # # .
|
||||
`);
|
||||
basic.pause(300);
|
||||
test();
|
||||
foo.bar();
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "BitVM.h"
|
||||
#include "MicroBitTouchDevelop.h"
|
||||
|
||||
namespace foo {
|
||||
GLUE void bar()
|
||||
//%
|
||||
void bar()
|
||||
{
|
||||
micro_bit::scrollNumber(108108, 50);
|
||||
touch_develop::micro_bit::scrollNumber(108108, 50);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user