freetronics / DMD2

Beta release of a new Dot Matrix Display Arduino library
http://forum.freetronics.com/viewtopic.php?f=26&t=5893
GNU General Public License v3.0
80 stars 71 forks source link

all led is on and characters is off #49

Open MohamadAlsadi opened 5 years ago

MohamadAlsadi commented 5 years ago

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

MohamadAlsadi commented 5 years ago

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

LianRave commented 4 years ago

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

MohamadAlsadi commented 4 years ago

Please add me on Whatsapp +963993597406

On Wed, Jan 15, 2020, 8:55 AM Julian Rivera notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/freetronics/DMD2/issues/49?email_source=notifications&email_token=AFB3F32RJCU4KCEDFCQ5W33Q52XPFA5CNFSM4IFTI6N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI7IN4A#issuecomment-574523120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB3F36V77C3GWFHL4K5FADQ52XPFANCNFSM4IFTI6NQ .