aboutsummaryrefslogtreecommitdiff
path: root/examples/spiblink/README.md
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-10-11 13:06:28 +0200
committerKarel Kočí <cynerd@email.cz>2015-10-11 13:06:28 +0200
commitbab75a6068ab0a64fe22395ad11efafccbf0d842 (patch)
tree59344457d25c2e72904acac20118eb16633908fe /examples/spiblink/README.md
parent1b0b3cb1b61759be5c2e100d08c84e5eec924a58 (diff)
downloadavr-ioe-bab75a6068ab0a64fe22395ad11efafccbf0d842.tar.gz
avr-ioe-bab75a6068ab0a64fe22395ad11efafccbf0d842.tar.bz2
avr-ioe-bab75a6068ab0a64fe22395ad11efafccbf0d842.zip
Implement SPI and remove files
Diffstat (limited to 'examples/spiblink/README.md')
-rw-r--r--examples/spiblink/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/spiblink/README.md b/examples/spiblink/README.md
new file mode 100644
index 0000000..3b18a8f
--- /dev/null
+++ b/examples/spiblink/README.md
@@ -0,0 +1,18 @@
+This example shows simple SPI communication. It uses two MCUs. One is configured
+as master. Other is configured as slave. Master has button connected to its input
+and slave has output led. Button status is mirrored by slave led.
+
+Connection
+----------
+Both MCUs needs basic power connections and crystal.
+Except of that, they need following other connections.
+
+| Mater pin | Slave pin | Other connections | Description |
+|-----------|-----------|-------------------|----------------------|
+| PB1 | | Led | Indication of button |
+| | PB1 | Led | Receive led |
+| PB2 | PB2 | | SS |
+| PB3 | PB3 | | MOSI |
+| PB4 | PB4 | | MISO |
+| PB5 | PB5 | | SCL |
+| PC1 | | Pull down button | Input button |