Adafruit-RGB_matrix_Panel(32*32)
Dependencies: Adafruit-GFX
Diff: RGBmatrixPanel.h
- Revision:
- 5:1f8409ee8850
- Parent:
- 4:0ff6053c4bb2
- Child:
- 6:b594794a132e
- Child:
- 7:3ac98c836aa1
diff -r 0ff6053c4bb2 -r 1f8409ee8850 RGBmatrixPanel.h --- a/RGBmatrixPanel.h Sun May 25 09:32:41 2014 +0000 +++ b/RGBmatrixPanel.h Sun May 25 11:30:30 2014 +0000 @@ -47,10 +47,11 @@ // Init/alloc code common to both constructors: void init(uint8_t rows, bool dbuf); - DigitalOut _sclk, _latch, _oe, _d; - BusOut _dataBus,_rowBus; + BusOut _dataBus; + BusOut _rowBus; + DigitalOut _d,_sclk, _latch, _oe; Ticker _refresh; // Counters/pointers for interrupt handler: - uint8_t row, plane; - uint8_t *buffptr; + volatile uint8_t row, plane; + volatile uint8_t *buffptr; }; \ No newline at end of file