adding example pages
This commit is contained in:
1 parent
fe2ae855b0
commit
672672e632
5 files changed
+35
No files matched your search
@@ -0,0 +1,10 @@
|
||||
## Plot Acceleration
|
||||
|
||||
```blocks
|
||||
basic.forever(() => {
|
||||
led.plotBarGraph(
|
||||
input.acceleration(Dimension.X),
|
||||
1023
|
||||
)
|
||||
})
|
||||
```
|
||||
@@ -0,0 +1,10 @@
|
||||
## Plot Light level
|
||||
|
||||
```blocks
|
||||
basic.forever(() => {
|
||||
led.plotBarGraph(
|
||||
input.lightLevel(),
|
||||
255
|
||||
)
|
||||
})
|
||||
```
|
||||
Reference in new issue
Block a user