Skip to content
Snippets Groups Projects
Commit 62337094 authored by Neil Gershenfeld (test)'s avatar Neil Gershenfeld (test)
Browse files

wip

parent 679877fe
No related branches found
No related tags found
No related merge requests found
Pipeline #10862 passed
......@@ -21,7 +21,7 @@ void setup() {
void loop() {
while(1) {
//
// VPORT: 1.818 MHz
// VPORT: 1.808 MHz
// 250 ns high (5 cycles), 300 ns low (6 cycles)
//
if (VPORTA.IN & PIN7_bm)
......@@ -38,7 +38,7 @@ void loop() {
PORTA.OUTSET = PIN6_bm;
*/
//
// library: 0.358 MHz
// digitalRead/Write: 0.331 MHz
//
/*
if (digitalRead(1))
......@@ -46,5 +46,14 @@ void loop() {
else
digitalWrite(0,HIGH);
*/
//
// digitalReadFast/WriteFast: 1.808 MHz
//
/*
if (digitalReadFast(1))
digitalWriteFast(0,LOW);
else
digitalWriteFast(0,HIGH);
*/
}
}
......@@ -103,7 +103,14 @@ The GPIO test measures how quickly pins can communicate with a processor core; t
</tr>
<tr>
<td>1.818</td>
<td>1.808</td>
<td>ATtiny412</td>
<td><a href=GPIO/ATtiny412/ring.t412.ino>DigitalReadFast/WriteFast</a></td>
<td>March, 2021</td>
</tr>
<tr>
<td>1.808</td>
<td>ATtiny412</td>
<td><a href=GPIO/ATtiny412/ring.t412.ino>VPORT</a></td>
<td>November, 2020</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment