Log In  

So, for anyone who didn't see on twitter, I recently bought a tiny 128x128 LCD, and got around to using it yesterday. https://twitter.com/NoahRosamilia/status/681585285013045252

When I first started it took around 85 seconds to transfer one full image, but with a bit of optimizing coughstealingotherpeoplescodecough I can now update the screen at ~50 FPS. I remember people talking about reading PICO-8's memory from another program (for networking stuff, I think). I was wondering if anybody had some clues for getting the PICO-8 screen data from a python script.

P#18089 2015-12-29 14:03 ( Edited 2016-04-02 17:58)

I saw that, really cool man!

P#18104 2015-12-31 02:43 ( Edited 2015-12-31 07:43)

neat, iv been tinkering with oled display's myself.
no python scripts as far as i know but you might be able to tinker with the love2D port and see if you can send out any data.

P#18109 2015-12-31 12:00 ( Edited 2015-12-31 17:00)

adekto: That's a good idea, I'll take a look into it, thanks :)

Also, I made another tweet about my progress, for those that didn't see it: https://twitter.com/noahrosamilia/status/682251813215694848

P#18113 2015-12-31 16:43 ( Edited 2015-12-31 21:43)

You can use a scren capture to collect the data. You have many way to do that:

Sample for Windows

P#18159 2016-01-05 01:21 ( Edited 2016-01-05 06:21)

I tried the screencap method, but it just runs too slowly.

P#19505 2016-03-31 00:00 ( Edited 2016-03-31 04:00)

As adekto said, if you usepicolove, you can directly do __screen:getPixel(). We will try to improve this port for the following project:

https://www.lexaloffle.com/bbs/?tid=3166

To get a good frame rate, try to increase the SPI clock as much as you can. I've been able to do 80 MHz on a Raspberry Pi and with an Arduino you should be able to do 8 MHz (even at 3.3V).

P#19546 2016-04-02 13:58 ( Edited 2016-04-02 17:58)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 17:50:03 | 0.007s | Q:19