eBook reader

The place to share and discuss your Ultibo projects.
Gavinmc42
Posts: 1555
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: eBook reader

Postby Gavinmc42 » Tue Apr 09, 2019 2:58 am

OpenGLES GPU to LCD via SPI, should work for OpenVG too?
http://asphyre.net/products/pxl

Too much stuff in Ultibo cannot keep up ;)
But these are for the native SPI mode LCD drivers chip, not the customer SPI to shift registers to parallel versions.
Hmm, what if I take the LCD off the PCB?
What driver chip is it using?

A google finds this re Waveshare 35b, I had forgot it was 480x320.
dmesg |grep graphics
[ 7.845964] graphics fb1: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 32 KiB buffer memory, fps=100, spi0.0 at 32 MHz


And this
https://forum.arduino.cc/index.php?topic=443770.30

Bookmarked this one, lots of useful info and even adapter boards to test LCDs
https://www.ramtex.dk/

Hmm, could this be the circuit? Time to crank up the CRO on the SPI ports?
https://github.com/notro/fbtft/wiki/SPI ... ce-circuit
User avatar
Ultibo
Site Admin
Posts: 2185
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Re: eBook reader

Postby Ultibo » Wed Apr 10, 2019 12:29 am

Gavinmc42 wrote:OpenGLES GPU to LCD via SPI, should work for OpenVG too?
http://asphyre.net/products/pxl

That example has already been ported to Ultibo, see DisplaySPIAndGPU.

Can't say if it would work for OpenVG as well, it possibly relies on an OpenGL API to do the rendering to an off screen buffer.
Ultibo.org | Make something amazing
https://ultibo.org
Gavinmc42
Posts: 1555
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: eBook reader

Postby Gavinmc42 » Sat Apr 20, 2019 8:36 am

Been learning lots and have found a way (that i can understand) to go to the next level.

Of the all the languages and script interpreters i have looked at, tcl/tk seems to be the closest to what I want to do.
The FP version of LIL will get me an extensible tcl like script interpreter.
The tk widget set is small enough and has the features I think I need.
https://wiki.tcl-lang.org/page/What+is+Tk

1st stage will be to use tcl/tk to make a Windows/Linux PDA with all the app functions, text viewer, clock, calculator, calendar, alarm.
2nd stage convert LIL to Ultibo. How much depends on LCL libs?
3rd stage make a graphics console version of tk.
4th stage make a VG version of tk.

Will this be of use to make a self hosting editor.
http://runtimeterror.com/tools/liteproc/

The advantages I see with extensible languages is when self hosted they can be used to add features.
This can be done with Forth, but that is an unreadable language once written :lol:

Once lil/vg is working it could be extended further with OpenGLES.
And then into a 3D game with built in scripting.
Any slow parts can be rewritten in Ultibo for speed.

Even if I don't end up going this way at least I will have learned tcl/tk which runs on everything.

Seems to be plenty of tcl calculator examples around
Ugly clock example ;)
https://en.wikibooks.org/wiki/Tcl_Progr ... _A/D_clock
But just see how small the code is.

I like the sliderule example, they go back to the 1700's, so known in Steampunk Era ;)
The presentation example goes back to one of the earliest days of Ultibo, a slideshow program.

One of the things Arduino does is have two section, setup and loop.
Setup is the initialization code and loop is the main.

For theming purposes, setup will be used to initialize the colour/shape scheme.
Stone, Bronze, Iron, Steam, Diesel, Deco and other Punk themes plus SiFi ones, The Orville, Star Trek etc.
Because this will be scripted it should be easy to change the look of this Punk OS.

Ha ha, just had a vision of a Barbie and Ken theme, immediately followed by a Unicorn version.
i suppose fantasy themes are possible too, Tolkien, Harry Potter, Warhammer (is that SiFi or fantasy?)
OK, getting crazy now, a Teletubbie theme?

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest