Stichword-Archiv: C++

Raspberry Pi powered Wifi Pictureframe

März 6, 2019 7:09 am Veröffentlicht von
Some days ago I wrote an post about building a picture frame using a Raspberry Pi. The article has been published on opensource.com. The software to show the slideshow has been written by myself and published on github as I wasn’t happy with all the existing solutions. As they either involve using a GL rendered xscreensaver which was terribly slow on the Raspberry Pi or installing Kodi which I think is kind of overkill, just to get a slide show.
Also I wanted the nice feature of a blurred, screen-filling version of the image displayed in the background. This is not possible using the xscreensaver slide show.
Take a look at it if you are as well looking for a lightweight slide show software and let me know what you think!

    A Christmas Poem

    Dezember 19, 2018 7:31 am Veröffentlicht von

     1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    #include <stdio.h>

    /* A CHRISTMAS POEM
    *
    * Christmas is near,
    * brings relaxed atmosphere.
    * The devs are staying at home,
    * feeling bored like a stone.
    *
    * Left the winter outside,
    * but still not satisfied.
    * They are missing their code,
    * yet so tired of node.
    *
    * And if this feels like you -
    * here is something to do.
    * Celebrate! It's written in C:
    * A compilable Christmas tree. */

    #
    define
    o printf
    #define O "%c"
    int main(){o(O,
    77);o(O,101);for(
    int l=0;l<2;++l)o(O
    ,114);o(O,121);o(" ")
    ;o(O,88);o(O,0x6d);o(O,
    0x61);o
    (O,115)
    ;o(O,0x0A);}