Hardware Reference
In-Depth Information
Solution
There are a number of JavaScript-based plotting packages out there. This recipe uses flot
because it strikes a nice balance between ease-of-use and power.
To make this recipe, you will need:
▪ Breadboard and jumper wires (see “Prototyping Equipment” )
▪ 10 kΩ trimpot (variable resistor) (see “Resistors” )
Wire your variable resistor to P9_36 , as shown in Figure 2-8 . Go to jsfiddle Flot Demo for
a nice quick demo. You will the screen shown in Figure 6-6 . Try changing the variable res-
istor, and watch the plot respond in real time.
Search WWH ::




Custom Search