I am using softwareserial command to extract data from a RS232 cable. I am sending a string 'hello' getting the data in HEX format. Can anyone suggest me to how to obtain data?
When in ASCII format I get the display as : ⸮⸮⸮R
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}