git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add logout functionality
[matches/MCTX3420.git]
/
testing
/
MCTXWeb
/
public_html
/
pintest.html
diff --git
a/testing/MCTXWeb/public_html/pintest.html
b/testing/MCTXWeb/public_html/pintest.html
index
5d0527b
..
921ec8d
100644
(file)
--- a/
testing/MCTXWeb/public_html/pintest.html
+++ b/
testing/MCTXWeb/public_html/pintest.html
@@
-30,13
+30,20
@@
$("#pwm-container").exportPWM($("#pwm-menu"));
}
});
$("#pwm-container").exportPWM($("#pwm-menu"));
}
});
+ $("#adc-controls").trigger("reset").setADCControl();
});
</script>
</head>
<body>
<div id="header">
});
</script>
</head>
<body>
<div id="header">
- <span id="title">BBB pin test</span>
+ <div id="leftnav">
+ <a href="http://www.uwa.edu.au/" target="_blank">
+ <img alt = "The University of Western Australia"
+ src="static/uwacrest-text.png">
+ </a>
+ <span id="title">BBB pin test</span>
+ </div>
<div id="rightnav">
<div id="menu-container" class="nav-menu">
</div>
<div id="rightnav">
<div id="menu-container" class="nav-menu">
</div>
@@
-60,12
+67,12
@@
</div>
<div class="widget">
<div class="title">Pin out diagram</div>
</div>
<div class="widget">
<div class="title">Pin out diagram</div>
- <p>To see the pin out diagram of the BBB, click <a href="">here</a>.</p>
+ <p>To see the pin out diagram of the BBB, click <a href="
pinout-table.pdf" target="_blank
">here</a>.</p>
</div>
<div class="widget">
</div>
<div class="widget">
- <div class="title">Unexport?</div>
+ <div class="title">
Export/
Unexport?</div>
<p>
<p>
- To
'unexport' a pin means to
disable it. Apart from the obvious
+ To
export/unexport a pin means to enable/
disable it. Apart from the obvious
use case, sometimes this can be required if you use two PWM channels
that share the same frequency base.
</p>
use case, sometimes this can be required if you use two PWM channels
that share the same frequency base.
</p>
@@
-76,13
+83,15
@@
</div>
<div class="widget">
<div class="title">PWM explained</div>
</div>
<div class="widget">
<div class="title">PWM explained</div>
+ <p>The frequency must be a decimal number greater than 0.</p>
<p>
<p>
- The
BBB has up to 8 PWM channels, with 6 having enhanced
-
resolution
.
+ The
duty cycle describes the proportion of off/on time per period.
+
This number is specified as a ratio, with values ranging from 0 to 1
.
</p>
<p>
</p>
<p>
- However, those 6 are paired, meaning that each pair must share the
- same frequency (although the duty cycle can be different).
+ The polarity determines if the duty represents the 'active
+ high' or 'active low' portion. By default, the duty cycle
+ represents the 'active high' portion.
</p>
</div>
</div>
</p>
</div>
</div>
@@
-110,7
+119,7
@@
<div class="widget">
<div class="title">Analogue input (ADC)</div>
<div class="widget">
<div class="title">Analogue input (ADC)</div>
- <form class="controls" action="#">
+ <form class="controls" action="#"
id="adc-controls"
>
<table class="centre">
<tr>
<td>AIN</td><th>0</th><th>1</th><th>2</th><th>3</th>
<table class="centre">
<tr>
<td>AIN</td><th>0</th><th>1</th><th>2</th><th>3</th>
UCC
git Repository :: git.ucc.asn.au