I'm trying to use my Arduino Uno as an ISP to program an ATTiny85 and at the same time check my board by using the SoftwareSerial library to output the values I'm getting from my sensor.
Is this actually possible? Or does it require 2 different setups? Because I found a lot of tutorials and threads about one or the other, but never both. Which I find odd because once you send your program to the chip you might want to test it as well (or debug it).
Many thanks for your help and input! :)
#include <SoftwareSerial.h> char anyChar; void setup(){ Serial.begin(9600); //to serial monitor Serial1.begin(9600); //connected to Attiny (RX to tx and TX to rx) } void loop(){ if(Serial1.available() >0) { anyChar = Serial1.read(); Serial.print(anyChar); } }
– Mugen Jan 20 '19 at 16:15