Search found 12 matches

by bitrat
Mon Sep 02, 2019 10:02 pm
Forum: Development of MicroPython
Topic: C module programming reference
Replies: 19
Views: 770

Re: C module programming reference

Thanks!
by bitrat
Mon Sep 02, 2019 9:59 pm
Forum: Development of MicroPython
Topic: C module programming reference
Replies: 19
Views: 770

Re: C module programming reference

I forgot to mention yesterday that in my reference, each module is a minimal C example that you can start to hack right away.
@Zoltán


Absolutely! Your examples are great! :-)
by bitrat
Sun Sep 01, 2019 8:05 pm
Forum: Development of MicroPython
Topic: C module programming reference
Replies: 19
Views: 770

Re: C module programming reference

Thanks all, and I apologise for my griping. In my defense, I thought a record of my struggles from a newbie's pov might be useful. ============ Anaconda diversion.. Zoltán, I'll install Anaconda, although your examples are so excellent and self explanatory, I'll probably just build them (...and rtfm...
by bitrat
Sun Sep 01, 2019 2:51 am
Forum: Programs, Libraries and Tools
Topic: uasyncio in MicroPython
Replies: 2
Views: 255

Re: uasyncio in MicroPython

Thanks :-)
by bitrat
Sun Sep 01, 2019 2:44 am
Forum: Development of MicroPython
Topic: C module programming reference
Replies: 19
Views: 770

Re: C module programming reference

Wow, this looks really great, thanks!!! I'm working through your examples in full! ..fyi (not a criticism) your index.rst isn't rendering. Also, I'm not that familiar with IPython etc, and you've left a space for a link here: If you don’t know what ipython magics are, you can read more at … In any c...
by bitrat
Fri Aug 09, 2019 5:15 am
Forum: ESP32 boards
Topic: can I reset a thingy filesystem without flashing
Replies: 2
Views: 137

Re: can I reset a thingy filesystem without flashing

Awesome thanks! Just what I was looking for.

Works too :-)
by bitrat
Fri Aug 09, 2019 2:41 am
Forum: ESP32 boards
Topic: can I reset a thingy filesystem without flashing
Replies: 2
Views: 137

can I reset a thingy filesystem without flashing

I have a bunch of null directories on my thingy (don't ask). ....ok, I've been resetting a deadlocked interpreter using this abomination, while pressing reset... while : do expect -c 'send \003\003\003\003\003\003\003\003\003\003\003\003\003\003\003' > /dev/ttyS4 expect -c 'send "\rimport uos\r";' >...
by bitrat
Fri Aug 09, 2019 12:31 am
Forum: ESP32 boards
Topic: reset after deadlock
Replies: 2
Views: 129

Re: reset after deadlock

Thanks jimmo, yeah I'll need to do something more robust with the WDT eventually. i was just looking for an easier way to unbrick my device while debugging (I'm writing some monitor classes). I'll be using C eventually so not too worried. I guess it's the FreeRTOS layer that catches the real irq. Ch...
by bitrat
Thu Aug 08, 2019 10:47 pm
Forum: ESP32 boards
Topic: reset after deadlock
Replies: 2
Views: 129

reset after deadlock

Hi, I've been experimenting with handling deadlocks in MicroPython on ESP32 Thingy. Can I use an interrupt handler to reset the system? I've tried handling an edge on pin 0 but either it isn't called or it's code is blocked. I'd like to modify/remove main.py and call machine.reset() from the interru...
by bitrat
Thu Aug 08, 2019 9:47 pm
Forum: General Discussion and Questions
Topic: intro and newbie questions
Replies: 2
Views: 241

Re: intro and newbie questions

Sorry, I meant to say thanks for this. :-)