Framebuf library incomplete ? MONO_HLSB



  • I try to get working a library for my display with Framebuf
    My display is a LS013B4DN04 with HLSB

    But in my the framebuf.MONO_HLSB (=3 — monochrome (1 byte), define 1 byte bit for horizontal pixels) is unknown.
    I receive this message "'MONO_HLSB' is not defined"

    if I force value to 3, "fb = framebuf.FrameBuffer(buf, 96, 96, 3 )"
    I receive this message "ValueError: invalid format"


Log in to reply
 

Pycom on Twitter