Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // link to pyserial code to go with this http://pastebin.com/mtsfKPAM
- int counter = 0;
- void setup() {
- // put your setup code here, to run once:
- Serial.begin(9600);
- }
- void loop() {
- // put your main code here, to run repeatedly:
- if (Serial.available() > 0)
- {
- while (Serial.available() > 0)
- {
- Serial.println(Serial.read());
- }
- //Serial.println("~");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment