Created
June 30, 2016 07:37
-
-
Save yeffrimic/fe854fb321c02464b3955658456f557b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include softwareSerial | |
String datosEntrantes; | |
softwareSerial pic(2,3) //rx,tx pines | |
void setup(){ | |
Serial.begin(115200); | |
pic.begin(115200); | |
} | |
void loop(){ | |
while(pic.available()>0){ | |
char CaracterEntrante = pic.read(); | |
datosEntrantes += CaracterEntrante; | |
} | |
Serial.println(datosEntrantes); | |
datosEntrantes = ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment