Is there any function in atmel studio or arduino that would help me send an 8 bit signal oven the B0 pin of atmega328p?
Is there any function in atmel studio or arduino that would help me send an 8 bit signal oven the B0 pin of atmega328p?
Hi,
Serial library only works on pins with dedicated UART, ie in the UNO digital pin 0 and 1.
For sending serial data over other pins you can use the SoftwareSerial library, which emulates the hardware by software, and you can chose the digital pins to act as Rx and Tx.
See this https://www.arduino.cc/en/Reference/softwareSerial.
Hope that helps!!!
Hi,
Serial library only works on pins with dedicated UART, ie in the UNO digital pin 0 and 1.
For sending serial data over other pins you can use the SoftwareSerial library, which emulates the hardware by software, and you can chose the digital pins to act as Rx and Tx.
See this https://www.arduino.cc/en/Reference/softwareSerial.
Hope that helps!!!