Search found 167 matches

by danielm
Tue Jun 28, 2016 8:24 am
Forum: General Discussion and Questions
Topic: Freezing Bytecode results in IndexError
Replies: 8
Views: 6554

Re: Freezing Bytecode results in IndexError

General question: can frozen bytecode speed up code execution or is it more about saving storage space?
by danielm
Sat Jun 18, 2016 6:49 am
Forum: Hardware Projects
Topic: controller for laser-based 3D printers
Replies: 4
Views: 12851

Re: controller for laser-based 3D printers

An update regarding our project: We are developing our solution in a best-effort way because the project is being funded solely by us – company founders. There will be approx. 3 month interruption in the controller development because we are currently earning money by developing custom IoT embedded ...
by danielm
Tue Jun 14, 2016 1:12 pm
Forum: General Discussion and Questions
Topic: int.to_bytes() byteorder parameter
Replies: 3
Views: 6380

Re: int.to_bytes() byteorder parameter

Thanks, I already coded my own solution based on bytearray() and append(). Will check those provided by you so I can use them next time :)
by danielm
Mon Jun 13, 2016 5:33 pm
Forum: General Discussion and Questions
Topic: int.to_bytes() byteorder parameter
Replies: 3
Views: 6380

int.to_bytes() byteorder parameter

Is it implemented? It seems that the conversion (on WiPy) is done with 'little' as default and sys.byteorder returns the same. Is there any way how to set system byteorder?
by danielm
Fri Jun 10, 2016 9:53 am
Forum: ESP8266 boards
Topic: Improving SPI speed?
Replies: 12
Views: 13487

Re: Improving SPI speed?

Could you please share some performance figures/numbers? Did you somehow manage to speed up Python execution?
by danielm
Tue Jun 07, 2016 8:36 am
Forum: ESP8266 boards
Topic: Improving SPI speed?
Replies: 12
Views: 13487

Re: Improving SPI speed?

Could you please post logic analyzer trace of your optimized solution? Is the HSPI driver designated to be used only with ESP8266 or could it be used with other HW paltforms? I am having trouble with sending 2-byte payload with CS toggle fast enough in my laser 3D printer controller project currentl...
by danielm
Thu May 26, 2016 1:50 pm
Forum: WiPy and CC3200 boards
Topic: machine.SPI.write() taking too long?
Replies: 15
Views: 17595

Re: machine.SPI.write() taking too long?

Thank you, I will take a look at that thread.

Is it possible to import MP module written in C from a file stored in the file system (Flash memory or SD-card) ?
by danielm
Wed May 25, 2016 4:50 pm
Forum: WiPy and CC3200 boards
Topic: machine.SPI.write() taking too long?
Replies: 15
Views: 17595

Re: machine.SPI.write() taking too long?

Thanks a lot for your answers and opinions. I now understand that DMA will not help in my case. Entire problem is a little bit more difficult, because it is not just about calling machine.SPI.write() on a large list of data and switching CS pin in between each two bytes. I need to do this sequential...
by danielm
Mon May 23, 2016 7:15 am
Forum: General Discussion and Questions
Topic: Experience with long-running applications
Replies: 6
Views: 5364

Re: Experience with long-running applications

Could I avoid the heap fragmentation becoming worse by simply storing operational data of my embedded device as object attributes initialized during boot process?
by danielm
Thu May 19, 2016 2:23 pm
Forum: General Discussion and Questions
Topic: Experience with long-running applications
Replies: 6
Views: 5364

Experience with long-running applications

Not sure if this is discussed in some other thread, but does anybody have experience with long-running applications built on top of MicroPython? Has anybody tried to keep some MicroPython host running for months or even more than year? The point is - is MicroPython suitable platform for developing e...