Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. hubert@hubert-SATELLITE-C660D ~ $ groups
  2. dialout adm cdrom sudo dip plugdev lpadmin sambashare hubert
  3.  
  4. /*
  5. Blink
  6. Turns on an LED on for one second, then off for one second, repeatedly.
  7.  
  8. This example code is in the public domain.
  9. */
  10.  
  11. // Pin 13 has an LED connected on most Arduino boards.
  12. // give it a name:
  13. int led = 13;
  14.  
  15. // the setup routine runs once when you press reset:
  16. void setup() {
  17. // initialize the digital pin as an output.
  18. pinMode(led, OUTPUT);
  19. }
  20.  
  21. // the loop routine runs over and over again forever:
  22. void loop() {
  23. digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
  24. delay(500); // wait for a second
  25. digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
  26. delay(500); // wait for a second
  27. }
  28.  
  29. Wielkość binarna szkicu: 4 736 bajtów (maksymalnie: 28 672 bajtów)
  30. processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
  31. at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:153)
  32. at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
  33. at processing.app.Sketch.upload(Sketch.java:1671)
  34. at processing.app.Sketch.exportApplet(Sketch.java:1627)
  35. at processing.app.Sketch.exportApplet(Sketch.java:1599)
  36. at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
  37. at java.lang.Thread.run(Thread.java:745)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement