This week's assignments are to design and to build a wired &/or wireless network connecting at least two processors.
I decided to experiment the I2C protocol because I used the serial protocol to communicate between the board and my pc in past assignments.The I2C is a wired protocol that uses only two wires. And not only two devices but also multiple devices can communicate each other.
15-1.Set up for programming an ATtiny with Arduino
Then I tried to program while referring to this page
---
[Plan]
1. Input a single character from PC.
2-1. If "t" is input:
LED of Node1(Slave1) blinks, and a sentence "Tokyo tower!!!" is displayed by a PC.
2-2. If "s" is input:
LED of Node2(Slave2) blinks, and a sentence "Sky tree!!!" is displayed by a PC.
2-3.If other single character is input:
A sentence "hmm...???" is displayed by a PC.
3.Reset