Robin2, thank you for the answer.
Sounds right, I´ve tried but couldn´t get it to work.
I need to know a RX and TX pin but can´t find those. I´ve tried a couple pins but nothing seems to work.
I used the SoftwareSerialExample on the uno and a bit of code to take the serial input on the Esplora and display it on the screen:
Uno:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(11, 12); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(57600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
Serial.println("Hello, world?");
}
void loop() { // run over and over
if (mySerial.available()) {
Serial.write(mySerial.read());
}
if (Serial.available()) {
mySerial.write(Serial.read());
}
}
Eplora:
#include <TFT.h>
#include <Esplora.h>
String A = " ";
char* a = " ";
void setup() {
Serial.begin(9600);
EsploraTFT.begin();
EsploraTFT.background(255,255,255);
EsploraTFT.setTextSize(3);
}
void loop() {
A = Serial.read();
A.toCharArray(a,5); //I know this doesn't work perfectly, but I get something on the screen
EsploraTFT.stroke(0,0,0);
EsploraTFT.text(a,0,0);
delay(1000);
EsploraTFT.stroke(255,255,255);
EsploraTFT.text(a,0,0);
A = " ";
a = " ";
}
I've tried different sets of numbers for the RX and TX(10,11;11,12;12,13;) and 0,1 but those were used by the serial connection to the pc so that interfered but also didn't give an output to the Esplora.
Are there pins I can use? And if not, is there a way to tell the USB shield it has to send the information from a serial connection over two pins to the USB? Or to tell it to send the information given to it through the ICSP to the USB?
...R