mirror of
https://github.com/sexybiggetje/pixdisp.git
synced 2024-11-22 03:31:03 +01:00
Add clear function to vm, this allows to workaround parts for #3
This commit is contained in:
parent
e7f23a391a
commit
543cad5228
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ class VMController
|
||||||
'WIDTH': matrixSize.width,
|
'WIDTH': matrixSize.width,
|
||||||
'HEIGHT': matrixSize.height,
|
'HEIGHT': matrixSize.height,
|
||||||
|
|
||||||
|
'clear': this.driver.clear.bind( this.driver ),
|
||||||
'setBrightness': this.driver.setBrightness.bind( this.driver ),
|
'setBrightness': this.driver.setBrightness.bind( this.driver ),
|
||||||
'getBrightness': this.driver.getBrightness.bind( this.driver ),
|
'getBrightness': this.driver.getBrightness.bind( this.driver ),
|
||||||
'setPixel': this.driver.setPixel.bind( this.driver ),
|
'setPixel': this.driver.setPixel.bind( this.driver ),
|
||||||
|
|
Loading…
Reference in a new issue