![]() Start by ensuring the include statement is specified near the top of your sketch. The Software Serial library is straightforward to use. ![]() ![]() To program the ATtiny85 you will need a programmer such as the SparkFun Tiny AVR Programmer. NOTE: This cable is not used to program the AVR. The code in this article uses an ATtiny85 with an FTDI Serial TTL-232 USB Cable to send or receive information.Ī USB Serial TTL Cable can also be used since the CTR and RTS pins are not needed. Some ATtiny chips do not have direct support for hardware based serial and therefore the Serial object is unavailable in your code, however, it is easy to add a SoftwareSerial object and view output in the Arduino IDE. The Atmel tinyAVR MCU's are great little chips for projects but can prove difficult to debug.
0 Comments
Leave a Reply. |