Search found 2759 matches

by Roberthh
Sat Dec 19, 2015 9:24 am
Forum: MicroPython pyboard
Topic: Inverted Serial on pyboard
Replies: 9
Views: 5793

Re: Inverted Serial on pyboard

If it's not only inverting, but level aligning too, then an external buffer/driver is required anyhow. And in any case the external inverter would protect PyBoard from damage.
by Roberthh
Wed Dec 16, 2015 10:09 am
Forum: General Discussion and Questions
Topic: GC question
Replies: 4
Views: 2734

Re: GC question

Hello Pythoncoder, I had a similar obervation e.g. during this post: http://forum.micropython.org/viewtopic.php?f=2&t=1112, when I printed the free memory between to get_file. It looks like gc tries to be efficient, not freeing space until it is needed. That reduces the calls to gc. collect() and in...
by Roberthh
Tue Dec 15, 2015 9:49 am
Forum: WiPy and CC3200 boards
Topic: Telling if char is pending in input
Replies: 13
Views: 8093

Re: Telling if char is pending in input

Hi all, the code example above was just a trial to see, if stdin.read() could be interrupted by a timer event. That did not work, which is ok. Just a try. But more interesting is, that even the intended interrupt event Ctrl-C does not interrupt stdin.read(). While I'm writing this, I was just noisy ...
by Roberthh
Tue Dec 15, 2015 8:35 am
Forum: General Discussion and Questions
Topic: newly introduced ilistdir() function
Replies: 0
Views: 5637

newly introduced ilistdir() function

I have a question about the ilistdir() function. I understand that it returns a list of tuples with (file_name, file_type, inode). When I run that on linux, the inode returned is different from what linux tells with the command ls -l. I simply get sequential numbers, starting at 48879 dec, BEEF hex....
by Roberthh
Mon Dec 14, 2015 6:10 am
Forum: MicroPython pyboard
Topic: Ideas for next evolution of pyboard
Replies: 75
Views: 48309

Re: Ideas for next evolution of pyboard

In any form factor, whether compute module or "dual row breadboard friedly design", it would be helpful to have the USB signals on the port pins, such that one could use another form factor for USB when integrating the PyBoard into another board. The micro-USB plug is too flimsy to withstand a day-t...
by Roberthh
Mon Dec 14, 2015 5:57 am
Forum: General Discussion and Questions
Topic: Re-import module?
Replies: 35
Views: 25219

Re: Re-import module?

Actually in the example code I used the ISR was registered by a function in the loaded module, not at load time of the module, and the interrupt is caused by a one-shot timer. I may set up an example where the interrupt is triggered by an external pulse generator, where I can better control how many...
by Roberthh
Sun Dec 13, 2015 8:14 pm
Forum: General Discussion and Questions
Topic: Re-import module?
Replies: 35
Views: 25219

Re: Re-import module?

Basically that works and is very useful. But if the first loaded module contains and registers an ISR, this one will be called, and any signaling using a global symbol will not work, since the first loaded ISR and the secondly loaded module will stare at different places At least that's what I obser...
by Roberthh
Sat Dec 12, 2015 2:52 pm
Forum: WiPy and CC3200 boards
Topic: Telling if char is pending in input
Replies: 13
Views: 8093

Re: Telling if char is pending in input

@danicampora: it could be either: a) in line with python's select & poll mechanism. That would require sys.stdxx being acceptable for select or poll. b) or like USB_VCP a raw interface to telnet, with telnet.read, telnet.write and telnet. any. I saw that these raw functions exist in cc3200/telnet, b...
by Roberthh
Fri Dec 11, 2015 2:53 pm
Forum: WiPy and CC3200 boards
Topic: Now live on Indiegogo InDemand
Replies: 4
Views: 3138

Re: Now live on Indiegogo InDemand

Full ACK for your first sentence, stijn.
by Roberthh
Fri Dec 11, 2015 2:48 pm
Forum: General Discussion and Questions
Topic: garbage collection question
Replies: 9
Views: 4117

Re: garbage collection question

Just a stupid question, JimTal001: are you sure that the exception is raised by a memory issue? The way the example is coded any exception would trigger the message.