Search found 1207 matches

by Roberthh
Tue Dec 15, 2015 9:49 am
Forum: The WiPy and CC3200 boards
Topic: Telling if char is pending in input
Replies: 13
Views: 4359

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: 5036

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: The MicroPython pyboard
Topic: Ideas for next evolution of pyboard
Replies: 75
Views: 30215

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: 13741

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: 13741

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: The WiPy and CC3200 boards
Topic: Telling if char is pending in input
Replies: 13
Views: 4359

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: The WiPy and CC3200 boards
Topic: Now live on Indiegogo InDemand
Replies: 4
Views: 1774

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: 2171

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.
by Roberthh
Thu Dec 10, 2015 7:56 am
Forum: The WiPy and CC3200 boards
Topic: Powering the Wipy
Replies: 1
Views: 1065

Re: Powering the Wipy

I have no expansion board, so I cannot test it, but.. according to the schematics, Vusb is connected to Vin through the power switch circuit TPS2115A. The purpose of that devices is to automatically switch between Vusb and Vbat, with lower voltage drop than a pair of diodes and protection features l...
by Roberthh
Tue Dec 08, 2015 12:13 pm
Forum: The MicroPython pyboard
Topic: pyb.ADCAll() side effect
Replies: 4
Views: 1499

Re: pyb.ADCAll() side effect

A documentation of pyb.ADCAll()'s semantics should help. Yes, in theory I could look into the source code to find out, what exactly a certain non-standard-python function is doing, but until now the initial hurdle seemed to hight for the questions I had. I took the try-and-error approach instead.