/* ******************************** */ /* Warning! Don't modify this file! */ /* ******************************** */ #include "PikaMain.h" #include #include PikaObj * pikaScriptInit(){ PikaObj * pikaMain = newRootObj("pikaMain", New_PikaMain); obj_run(pikaMain, "\n" "led = Device.LED()\n" "uart = Device.Uart()\n" "mem = PikaStdLib.MemChecker()\n" "\n" "print('hello wrold')\n" "uart.setName('com1')\n" "uart.send('My name is:')\n" "uart.printName()\n" "print('mem used max:')\n" "mem.max()\n" "print('mem used now:')\n" "mem.now()\n" "\n" "\n"); return pikaMain; }