Search found 2 matches

by efr
Mon Jan 06, 2020 8:30 pm
Forum: Programs, Libraries and Tools
Topic: Simple MicroPython to C interface
Replies: 2
Views: 1476

Re: Simple MicroPython to C interface

Hi Jimmo,
Great, thank's for this useful information.
I will check this immediately ;-)
Regards
efr
by efr
Mon Jan 06, 2020 8:17 pm
Forum: Programs, Libraries and Tools
Topic: Simple MicroPython to C interface
Replies: 2
Views: 1476

Simple MicroPython to C interface

Hi, I would like to write a C library for interfacing a micropyton command. In C something like this (of course, the types are wrong ...) ... STATIC mp_obj_t myLibrary_call(mp_obj_t array_obj) { uint32_t i; for (i = 0; i < 10; i++) { array_obj = i; } } ... In micropyton, something like this : buffer...