[python] Initial turtle module

This commit is contained in:
Jean-Baptiste Boric
2018-10-27 10:18:15 +02:00
parent 3b9d307577
commit 464c1a5c95
14 changed files with 320 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ extern "C" {
#include "py/repl.h"
#include "py/runtime.h"
#include "py/stackctrl.h"
#include "modturtle.h"
#include "mphalport.h"
}
@@ -107,7 +108,8 @@ void MicroPython::init(void * heapStart, void * heapEnd) {
mp_init();
}
void MicroPython::deinit(){
void MicroPython::deinit() {
turtle_deinit();
mp_deinit();
}