Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String buff="";
- void setup() {
- // put your setup code here, to run once:
- Serial.begin(300);
- }
- void loop() {
- if(Serial.available())
- {
- while(Serial.available())
- {
- buff += char(Serial.read());
- }
- Serial.print(buff);
- buff = "";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement