• Controlling st7789 screen from Ada on a rpi Pico ?

    From =?UTF-8?Q?Bj=c3=b6rn_Lundin?=@21:1/5 to All on Tue Feb 15 22:18:44 2022
    So, I got my first Raspberry Pico :-)

    I also got a 'Pico Explorer Base' device at <https://shop.pimoroni.com/products/pico-explorer-base>

    This thing has a st7789 screen. I got it to work with Python.

    Now - I see that there is work done with the Pico and Ada - the <https://pico-doc.synack.me> seems to be a good place to start.

    I wonder if there is any port done already for this screen in Ada?
    Google points me to some python and some c/c++ implementations (whereof Pimoroni's Github has some)

    I also came across uGUI <http://embeddedlightning.com/ugui/> which
    loooks interesting. Same question there. Ada-port?

    I hesitate to start translating one of the c-libraries - but
    I probably will when time permits if nothing is already in place.


    --
    Björn

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeremy@synack.me@21:1/5 to All on Tue Feb 15 18:03:26 2022
    On Tuesday, February 15, 2022 at 1:18:48 PM UTC-8, björn lundin wrote:
    So, I got my first Raspberry Pico :-)

    I also got a 'Pico Explorer Base' device at <https://shop.pimoroni.com/products/pico-explorer-base>

    This thing has a st7789 screen. I got it to work with Python.

    Now - I see that there is work done with the Pico and Ada - the <https://pico-doc.synack.me> seems to be a good place to start.

    I wonder if there is any port done already for this screen in Ada?
    Google points me to some python and some c/c++ implementations (whereof Pimoroni's Github has some)

    I also came across uGUI <http://embeddedlightning.com/ugui/> which
    loooks interesting. Same question there. Ada-port?

    I hesitate to start translating one of the c-libraries - but
    I probably will when time permits if nothing is already in place.


    --
    Björn

    The Pimoroni Picosystem uses a ST7789 screen, I have a driver for it in picosystem_bsp:

    https://github.com/JeremyGrosser/picosystem_bsp/tree/master/src

    I didn't implement every feature or video mode that the controller supports, so you may need to modify it to suit your needs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Bj=c3=b6rn_Lundin?=@21:1/5 to All on Wed Feb 16 08:19:07 2022
    Den 2022-02-16 kl. 03:03, skrev jer...@synack.me:


    The Pimoroni Picosystem uses a ST7789 screen, I have a driver for it in picosystem_bsp:

    https://github.com/JeremyGrosser/picosystem_bsp/tree/master/src

    I didn't implement every feature or video mode that the controller supports, so you may need to modify it to suit your needs.


    Perfect - just what I was looking for - thanks.

    And thanks for the effort of bringing Ada to the Pico


    --
    Björn

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fabien Chouteau@21:1/5 to All on Fri Feb 18 01:31:20 2022
    On Tuesday, February 15, 2022 at 10:18:48 PM UTC+1, björn lundin wrote:
    I also came across uGUI <http://embeddedlightning.com/ugui/> which
    loooks interesting. Same question there. Ada-port?

    I have an Ada binding [1] for the excellent lvgl GUI library [2]. You can get it from Alire: [3].
    It is not in a very beginner friendly shape, but it works. I am trying to do a new version that should be easier to integrate into existing project.
    Don't hesitate to say hello on the Ada Gitter chat if you want an little help setting it up.

    [1] https://github.com/Fabien-Chouteau/lvgl-ada
    [2] https://github.com/lvgl/lvgl
    [3] https://alire.ada.dev/crates/lvgl_ada.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Bj=c3=b6rn_Lundin?=@21:1/5 to All on Fri Feb 18 18:18:35 2022
    Den 2022-02-18 kl. 10:31, skrev Fabien Chouteau:
    On Tuesday, February 15, 2022 at 10:18:48 PM UTC+1, björn lundin wrote:

    I have an Ada binding [1] for the excellent lvgl GUI library [2]. You can get it from Alire: [3].

    Interesting. When things at work calm down, I'll look into it
    (so - I'm just investigating for later use)


    Don't hesitate to say hello on the Ada Gitter chat if you want an little help setting it up.

    Ok, thanks - good to know



    --
    Björn

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)