Adafruit-RGB_matrix_Panel(32*16)
Diff: RGBmatrixPanel.cpp
- Revision:
- 9:349baf041171
- Parent:
- 5:1f8409ee8850
- Child:
- 10:db4941188812
--- a/RGBmatrixPanel.cpp Sun May 25 11:42:50 2014 +0000 +++ b/RGBmatrixPanel.cpp Sun May 25 12:24:33 2014 +0000 @@ -34,7 +34,7 @@ } // Constructor for 16x32 panel: -RGBmatrixPanel::RGBmatrixPanel(PinName r1,PinName r2,PinName g1,PinName g2,PinName b1,PinName b2,PinName a,PinName b, PinName c, PinName sclk, PinName latch, PinName oe, bool dbuf) +RGBmatrixPanel::RGBmatrixPanel(PinName r1,PinName g1,PinName b1,PinName r2,PinName g2,PinName b2,PinName a,PinName b, PinName c, PinName sclk, PinName latch, PinName oe, bool dbuf) :Adafruit_GFX(32, 16), _dataBus(r1,g1,b1,r2,g2,b2), _rowBus(a,b,c), @@ -45,7 +45,7 @@ { init(8, dbuf); } - +/* // Constructor for 32x32 panel: RGBmatrixPanel::RGBmatrixPanel(PinName r1,PinName r2,PinName g1,PinName g2,PinName b1,PinName b2,PinName a,PinName b,PinName c,PinName d,PinName sclk,PinName latch,PinName oe,bool dbuf) :Adafruit_GFX(32, 32), @@ -58,7 +58,7 @@ { init(16,dbuf); } - +*/ void RGBmatrixPanel::begin(void) { @@ -340,7 +340,6 @@ log_debug("\tupdate row%s","\r\n"); _rowBus.write(row); } - _dataBus=0; _oe=0; _latch=0; ptr = (uint8_t *)buffptr;