705 B
705 B
Plot Bar Graph
Displays a vertical bar graph based on the value and high value.
led.plotBarGraph(2, 20);
Parameters
Example: chart acceleration
basic.forever(() => {
let a = input.acceleration(Dimension.X);
led.plotBarGraph(a, 1023)
})