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

wip

parent 1b1753fa
No related branches found
No related tags found
No related merge requests found
Pipeline #12167 passed
//
// ring.IMXRT1062.ino
//
// ring oscillator test
//
// Neil Gershenfeld 8/12/21
//
// This work may be reproduced, modified, distributed,
// performed, and displayed for any purpose, but must
// acknowledge this project. Copyright is retained and
// must be preserved. The work is provided as is; no
// warranty is provided, and users accept all liability.
//
void setup() {
pinMode(0,OUTPUT);
}
void loop() {
while (1) {
uint8_t data = GPIO6_DR;
if (data & 0b100) // pin 1
GPIO6_DR = 0;
else
GPIO6_DR = 0b1000; // pin 0
}
}
...@@ -42,7 +42,7 @@ The GPIO test measures how quickly pins can communicate with a processor core; t ...@@ -42,7 +42,7 @@ The GPIO test measures how quickly pins can communicate with a processor core; t
<tr> <tr>
<td>23.08</td> <td>23.08</td>
<td>IMXRT1062</td> <td>IMXRT1062</td>
<td>Teensy 4.1, 600 MHz, <a href=GPIO/Arduino/ring.ino>Arduino</a>, GPIO</td> <td>Teensy 4.1, 600 MHz, <a href=GPIO/Arduino/ring.ino>Arduino</a>, <a href=GPIO/IMXRT1062/ring.IMXRT1062.ino>GPIO</a></td>
<td>August, 2021</td> <td>August, 2021</td>
</tr> </tr>
......
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