Yes! That works.
Thank you very much!
Search found 4 matches
Search found 4 matches • Page 1 of 1
- Thu Jan 10, 2019 9:10 pm
- Forum: General Discussion and Questions
- Topic: namedtuple to JSON possible?
- Replies: 2
- Views: 91
Hello everyone. I've been trying to find a good way to serialize objects, but there's always something missing in the micropython implementation. My goal is a Setting class where: - I can access parameters by name (not key lookup) - I can serialize the parameters to JSON Something that can do: objec...
- Tue Oct 02, 2018 1:23 pm
- Forum: The MicroPython pyboard
- Topic: heap_lock heap_unlock not working
- Replies: 9
- Views: 358
New account, so no code tags, sorry When I run this code I get a MemmoryError: memory allocation failed, heap is locked import micropython micropython.alloc_emergency_exception_buf(100) micropython.heap_lock() micropython.heap_unlock() Running this also locks the heap: import micropython micropython...