Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hubert@hubert-SATELLITE-C660D ~ $ groups
- dialout adm cdrom sudo dip plugdev lpadmin sambashare hubert
- /*
- Blink
- Turns on an LED on for one second, then off for one second, repeatedly.
- This example code is in the public domain.
- */
- // Pin 13 has an LED connected on most Arduino boards.
- // give it a name:
- int led = 13;
- // the setup routine runs once when you press reset:
- void setup() {
- // initialize the digital pin as an output.
- pinMode(led, OUTPUT);
- }
- // the loop routine runs over and over again forever:
- void loop() {
- digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
- delay(500); // wait for a second
- digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
- delay(500); // wait for a second
- }
- Wielkość binarna szkicu: 4 736 bajtów (maksymalnie: 28 672 bajtów)
- 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.
- at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:153)
- at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
- at processing.app.Sketch.upload(Sketch.java:1671)
- at processing.app.Sketch.exportApplet(Sketch.java:1627)
- at processing.app.Sketch.exportApplet(Sketch.java:1599)
- at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
- at java.lang.Thread.run(Thread.java:745)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement