Hardware Reference
In-Depth Information
Figure 6-4. jsfiddle example of GPIO
The page has four panels. The upper-left panel shows your HTML code. The lower-left
panel shows the JavaScript that animates the HTML. The upper-right panel shows the
CSS code that formats your HTML (not used here), and the lower-right panel shows what
your rendered page looks like.
Wire your pushbutton switch to P8_19 (use Figure 2-5 as an example, but note that the
pushbutton in that figure is wired to P9_42 , instead) and the variable resistor to P9_36 ,
as shown in Figure 2-8 .
Search WWH ::




Custom Search