Updated README.md after findings of 2018-03-02.
This commit is contained in:
parent
4a98e876cf
commit
77b03ae70d
17
README.md
17
README.md
@ -16,11 +16,19 @@ The firmware for the ATtiny is written as an Arduino sketch using the
|
|||||||
for generating pseudorandom numbers and transforms them to the needed
|
for generating pseudorandom numbers and transforms them to the needed
|
||||||
range using the gcc uniform_int_dist c++std implementation.
|
range using the gcc uniform_int_dist c++std implementation.
|
||||||
|
|
||||||
Flashing the firmware can be done using a usual Arduino programmed as an
|
Flashing the firmware can be done using a usual Arduino (UNO in our case)
|
||||||
ISP with the ArduinoISP example sketch included in the IDE. Then the Arduino
|
programmed as an ISP with the ArduinoISP example sketch included in the IDE.
|
||||||
can be connected for example via its ICSP pins:
|
|
||||||
|
|
||||||
![ICSP]
|
Then the Programmer (Arduino) should be connected to the Target like this:
|
||||||
|
|
||||||
|
| **Programmer's pins** | **Target's pins** |
|
||||||
|
|:---------------------:|:-----------------:|
|
||||||
|
| 13 | SCK |
|
||||||
|
| 12 | MISO |
|
||||||
|
| 11 | MOSI |
|
||||||
|
| 10 | RESET |
|
||||||
|
| 5V | VCC |
|
||||||
|
| GND | GND |
|
||||||
|
|
||||||
The pins on our TinyFinger board are from left to right:
|
The pins on our TinyFinger board are from left to right:
|
||||||
GND, MISO, VCC, SCK, MOSI, RESET.
|
GND, MISO, VCC, SCK, MOSI, RESET.
|
||||||
@ -32,4 +40,3 @@ Cura after exporting the model as an stl file.
|
|||||||
|
|
||||||
[ATTinyCore]: https://github.com/SpenceKonde/ATTinyCore
|
[ATTinyCore]: https://github.com/SpenceKonde/ATTinyCore
|
||||||
[linear congruential generator]: https://en.wikipedia.org/wiki/Linear_congruential_generator
|
[linear congruential generator]: https://en.wikipedia.org/wiki/Linear_congruential_generator
|
||||||
[ICSP]: https://www.arduino.cc/en/uploads/Tutorial/ICSPHeader.jpg "Arduino's ICSP pins"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user