Serial Port Attiny

Serial Port Attiny Average ratng: 7,5/10 5916reviews

Did you use the pull-up resistor for both, the SDA and SCL? They are important for the I2C protocol.

FYI: The logic '0' on the either bus is set by device driving actual '0' on the pin. Hp Elitebook 8470p Bluetooth Treiber. On the other hand, the logic '1' is set on the bus by putting the device pin in the high impedance, in case on the ATtiny, it means setting pin into INPUT direction. When the both, the master and slave set pins to hiZ, the pull-up resistor pulls the voltage on the bus to value representing logic '1'. This solution allows avoiding contention on bi-directional bus (one device driving '1' and second driving '0') than can lead to short-circuit and damaging devices. So, if you don't use the pull-up resistor, the bus will be left floating whenever logic '1' is driven and it will lead to protocol errors.

OP is trying to use Arduino as TTL to USB bridge, that's why he connected TX to TX and RX to RX and uploaded a 'blank' sketch, so Arduino wouldn't interfere with attiny serial. Fast Furious 7 Mkv Download Farsi. This won't work with Arduino Micro because RX and TX (Serial1) is another port separated from Serial (USB) You have to use.

Serial Port AttinySerial Port Attiny