Skip to content
Snippets Groups Projects
Commit 273f2f8e authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent 16c25160
Branches
No related tags found
No related merge requests found
...@@ -11,39 +11,6 @@ ...@@ -11,39 +11,6 @@
# must be preserved. The work is provided as is; no # must be preserved. The work is provided as is; no
# warranty is provided, and users accept all liability. # warranty is provided, and users accept all liability.
# #
# T: token
# B: bit
#
# T B
# 0 0 x: empty
# 0 1 o: occupied
# 1 0 0: 0
# 1 1 1: 1
#
# TO: token out
# BO: bit out
# TI: token in
# BI: bit in
#
# send, receive:
#
# T B T B
# O O I I
# 0 0 -- 0 0 empty
# 1 ? -> 0 0 send bit
# 1 ? <- 0 1 receive occupied
# 0 0 -> 0 1 send empty
# 0 0 <- 0 0 receive empty
#
# swap: (not yet implemented)
#
# T B T B
# O O I I
# 0 0 --- 0 0 empty
# 1 ? <-> 1 ? send and receive bit
# 0 1 <-> 0 1 send and receive occupied
# 0 0 <-> 0 0 send and receive empty
#
import rp2,time import rp2,time
from machine import Pin,freq from machine import Pin,freq
......
...@@ -11,39 +11,6 @@ ...@@ -11,39 +11,6 @@
# must be preserved. The work is provided as is; no # must be preserved. The work is provided as is; no
# warranty is provided, and users accept all liability. # warranty is provided, and users accept all liability.
# #
# T: token
# B: bit
#
# T B
# 0 0 x: empty
# 0 1 o: occupied
# 1 0 0: 0
# 1 1 1: 1
#
# TO: token out
# BO: bit out
# TI: token in
# BI: bit in
#
# send, receive:
#
# T B T B
# O O I I
# 0 0 -- 0 0 empty
# 1 ? -> 0 0 send bit
# 1 ? <- 0 1 receive occupied
# 0 0 -> 0 1 send empty
# 0 0 <- 0 0 receive empty
#
# swap: (not yet implemented)
#
# T B T B
# O O I I
# 0 0 --- 0 0 empty
# 1 ? <-> 1 ? send and receive bit
# 0 1 <-> 0 1 send and receive occupied
# 0 0 <-> 0 0 send and receive empty
#
import rp2,time import rp2,time
from machine import Pin,freq from machine import Pin,freq
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<a href=https://fabacademy.org/2020/labs/leon/students/adrian-torres/week14.html#hello_i2c>ATtiny412</a> <a href=https://fabacademy.org/2020/labs/leon/students/adrian-torres/week14.html#hello_i2c>ATtiny412</a>
<i><a href=https://www.mipi.org/resources/i3c-frequently-asked-questions>I3C</a></i> <i><a href=https://www.mipi.org/resources/i3c-frequently-asked-questions>I3C</a></i>
<i>asynchronous unclocked</i> <i>asynchronous unclocked</i>
<a href=ATP/ATP.txt><i>ATP</i></a>
<a href=ATP/hello.ATP.RP2040>hello.ATP.RP2040</a> <a href=ATP/hello.ATP.RP2040.png>board</a> <a href=ATP/hello.ATP.RP2040.jpg>components</a> <a href=ATP/hello.ATP.RP2040.top.png>traces</a> <a href=ATP/hello.ATP.RP2040.interior.png>interior</a> <a href=ATP/hello.ATP.RP2040>hello.ATP.RP2040</a> <a href=ATP/hello.ATP.RP2040.png>board</a> <a href=ATP/hello.ATP.RP2040.jpg>components</a> <a href=ATP/hello.ATP.RP2040.top.png>traces</a> <a href=ATP/hello.ATP.RP2040.interior.png>interior</a>
<a href=ATP/hello.ATP.RP2040.send.py>send</a> <a href=ATP/hello.ATP.RP2040.recv.py>receive</a> <a href=ATP/hello.ATP.RP2040.timing.png>timing</a> <a href=ATP/hello.ATP.RP2040.mp4>video</a> <a href=ATP/hello.ATP.RP2040.send.py>send</a> <a href=ATP/hello.ATP.RP2040.recv.py>receive</a> <a href=ATP/hello.ATP.RP2040.timing.png>timing</a> <a href=ATP/hello.ATP.RP2040.mp4>video</a>
<i><a href=http://www.usb.org>USB</a></i> <i><a href=http://www.usb.org>USB</a></i>
...@@ -208,6 +209,7 @@ ...@@ -208,6 +209,7 @@
<a href=http://manpages.ubuntu.com/manpages/trusty/en/man8/slattach.8.html>slattach</a> <a href=http://manpages.ubuntu.com/manpages/trusty/man8/route.8.html>route</a> <a href=http://manpages.ubuntu.com/manpages/trusty/en/man8/slattach.8.html>slattach</a> <a href=http://manpages.ubuntu.com/manpages/trusty/man8/route.8.html>route</a>
<a href=SLIP/hello.bus.45.SLIP.c>hello.bus.45.SLIP.c</a> <a href=SLIP/hello.bus.45.SLIP.make>makefile</a> <a href=SLIP/udp_slip.py>udp_slip.py</a> <a href=SLIP/hello.bus.45.SLIP.mp4>video</a> <a href=SLIP/hello.bus.45.SLIP.c>hello.bus.45.SLIP.c</a> <a href=SLIP/hello.bus.45.SLIP.make>makefile</a> <a href=SLIP/udp_slip.py>udp_slip.py</a> <a href=SLIP/hello.bus.45.SLIP.mp4>video</a>
<a href=https://cba.mit.edu/docs/papers/04.10.i0.pdf>IoT</a>, <a href=https://cba.mit.edu/events/13.03.DC>event</a> <a href=https://cba.mit.edu/docs/papers/04.10.i0.pdf>IoT</a>, <a href=https://cba.mit.edu/events/13.03.DC>event</a>
<a href=APA/APA.txt>APA</a>
<b><a href=https://fabacademy.org/2020/labs/kamakura/assignments/week17/>assignment</a></b> <b><a href=https://fabacademy.org/2020/labs/kamakura/assignments/week17/>assignment</a></b>
<i>individual assignment:</i> <i>individual assignment:</i>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment