Search found 2759 matches

by Roberthh
Fri Feb 26, 2016 9:34 pm
Forum: Development of MicroPython
Topic: Persistent Bytecode
Replies: 6
Views: 3695

Re: Persistent Bytecode

Hello Damien. I did not try the variant where the bytecode is compiled into the package. Just the one where a pre-compiled file is loaded (to RAM) instead of the source file. And that should be useful for WiPy too, since it allows to run larger programs. The extra RAM space needed for compilation is...
by Roberthh
Fri Feb 26, 2016 9:09 am
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

I know the difference. But the actual implementation is already some progress, because larger code may fail to compile, even if the resulting bytecode would fit into RAM, just because the source code is too large to fit at compile time. With PyBoard, you'll hit that limit at about 1000 LOC, resultin...
by Roberthh
Thu Feb 25, 2016 9:14 pm
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

Hello @pythoncoder. It seems that some part of persistent bytecode just surfaced. It allows you to precompile python scripts on a host and save the memory & time when running on PyBoard. The stuff is still in RAM, but the temporary RAM use is lower. B.T.W: I made a few changes to the TFT driver, jus...
by Roberthh
Thu Feb 25, 2016 9:08 pm
Forum: Development of MicroPython
Topic: Persistent Bytecode
Replies: 6
Views: 3695

Persistent Bytecode

Hello Folks!
A great fanfare and praise for the persistent bytecode. I just tried it on PyBoard and it works impressively. I'll check out more.
Will that also be available on WiPy?
Best Regards, Robert
by Roberthh
Wed Feb 24, 2016 8:46 pm
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

Hi @pythoncoder. I prefer the second model, since it does not rely on a specially tailored version of microypthon. Because then you would have to redo that every time a new release is published. Damien and Paul fight for every byte in the core, and I guess they would not like to see several dozen kB...
by Roberthh
Tue Feb 23, 2016 8:09 pm
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

Thanks for the fritzing hint. I know it by name, but never gave it a try. I tried KiCad once, and could make a board design with it, and made a few schematics with eagle. But these tools are way too complicated for rare use. If I make a PCB, I'll let you know. The touchpad controller in my TFT is ca...
by Roberthh
Tue Feb 23, 2016 4:12 pm
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

Hello @platforma, that's great. There are a few areas where the development could be driven, so I allow myself to name them: - Touch panel interface. Thats complete open space yet and may be the best extension for the package. There's C sample code available in the UTFT package, which I would use as...
by Roberthh
Tue Feb 23, 2016 9:33 am
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

Thanks for joining the game. Obviously you are right, and that font stuff is a wide area. Splitting the fonts into separate files is a good approach, which I will go. For now, I made a file called dummyfont.py, which just contains one dummy char for each font. That would at least ensure the operatio...
by Roberthh
Tue Feb 23, 2016 6:59 am
Forum: MicroPython pyboard
Topic: writing files to /sd goes wrong
Replies: 14
Views: 8043

Re: writing files to /sd goes wrong

That's a mess I constantly fight with. It results from the fact, that both the host and the PyBoard have a different view of what is in the filesystem. The host will eventually 'sync' the files on the PyBoard and then write to it what it's view of the content. When you are writing files locally on P...
by Roberthh
Mon Feb 22, 2016 7:49 pm
Forum: Drivers for External Components
Topic: Driver for a SSD1963 TFT controller
Replies: 38
Views: 20749

Re: Driver for a SSD1963 TFT controller

Hello all: I just added the two other fonts from the UTFT library for printString(), and documented the lower level functions. The font handling in printString() is still very basic, and the supplied fonts do not really look fancy. And they consume a lot of RAM, so this part will definitely have to ...