Skip to content

all led is on and characters is off #49

Open

Description

@MohamadAlsadi

I tried use inverse mode but the charcters not correct

please give me Example INO file with GRAPHICS_INVERSE mode

I am use 1 P10 module

Activity

  1. MohamadAlsadi commented on Jul 22, 2019

    @MohamadAlsadi
    Author

    I try inverse the code in DMD.cpp file

    for(int i = 0; i < rowsize; i++) {
    softSPITransfer((rows[3]++), port_r_data, mask_r_data, port_clk, mask_clk);
    softSPITransfer(
    (rows[2]++), port_r_data, mask_r_data, port_clk, mask_clk);
    softSPITransfer((rows[1]++), port_r_data, mask_r_data, port_clk, mask_clk);
    softSPITransfer(
    (rows[0]++), port_r_data, mask_r_data, port_clk, mask_clk);

    to :

    for(int i = 0; i < rowsize; i++) {
    softSPITransfer((rows[3]++), ~port_r_data, mask_r_data, port_clk, mask_clk);
    softSPITransfer(
    (rows[2]++), ~port_r_data, mask_r_data, port_clk, mask_clk);
    softSPITransfer((rows[1]++), ~port_r_data, mask_r_data, port_clk, mask_clk);
    softSPITransfer(
    (rows[0]++), ~port_r_data, mask_r_data, port_clk, mask_clk);

    but I get the ERROR :
    C:\Users\SADI\Documents\Arduino\libraries\DMD2-master\DMD2.cpp:160:36: error: wrong type argument to bit-complement

  2. LianRave commented on Jan 15, 2020

    @LianRave

    Could you find a solution for it, I have the same problem , is like the panels that I bought are working with inverse logic ¿?

  3. MohamadAlsadi commented on Jan 15, 2020

    @MohamadAlsadi
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions