Fix Black and White Typo (#2138)
* Fixed typo: Back->Black * Added Upgrade Rules to fix spelling * Removed extra isEmpty * Added previous BackAndWhite to allow for compilation of old scripts
This commit is contained in:
@ -12,7 +12,7 @@ led.plotBrightness(0, 0, 255)
|
||||
led.setBrightness(255);
|
||||
led.stopAnimation();
|
||||
led.plotBarGraph(0, 0);
|
||||
led.setDisplayMode(DisplayMode.BackAndWhite);
|
||||
led.setDisplayMode(DisplayMode.BlackAndWhite);
|
||||
led.enable(false)
|
||||
```
|
||||
|
||||
|
@ -18,7 +18,7 @@ to have some amount of brightness to represent the grey value of real color. The
|
||||
Set the display mode to `black and white`.
|
||||
|
||||
```blocks
|
||||
led.setDisplayMode(DisplayMode.BackAndWhite)
|
||||
led.setDisplayMode(DisplayMode.BlackAndWhite)
|
||||
```
|
||||
|
||||
## See also
|
||||
|
Reference in New Issue
Block a user