From f164c48748f9209b3a14b0320aa24f53468f0130 Mon Sep 17 00:00:00 2001
From: Neil Gershenfeld <gersh@cba.mit.edu>
Date: Mon, 16 Aug 2021 20:20:00 -0400
Subject: [PATCH] adding Teensy

---
 GPIO/Arduino/ring.ino | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 GPIO/Arduino/ring.ino

diff --git a/GPIO/Arduino/ring.ino b/GPIO/Arduino/ring.ino
new file mode 100644
index 0000000..8abbbe1
--- /dev/null
+++ b/GPIO/Arduino/ring.ino
@@ -0,0 +1,32 @@
+//
+// ring.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) {
+      /*
+      if (digitalRead(1))
+         digitalWrite(0,LOW);
+      else
+         digitalWrite(0,HIGH);
+      */
+      if (digitalReadFast(1))
+         digitalWriteFast(0,LOW);
+      else
+         digitalWriteFast(0,HIGH);
+      }
+   }
-- 
GitLab