Open MohamadAlsadi opened 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
Could you find a solution for it, I have the same problem , is like the panels that I bought are working with inverse logic ¿?
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 .
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