/usr/share/fritzing/sketches/core/Fritzing Creator Kit DE+EN/creator-kit-en/Fritzing Creator Kit/Blink/Blink.ino is in fritzing-data 0.9.3b+dfsg-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | /*
Blink
Switching a LED on and off
This example is part of the Fritzing Creator Kit: www.fritzing.org/creator-kit.
*/
int led = 13; // integer variable led is declared
void setup() { // the setup() method is executed only once
pinMode(led, OUTPUT); // the led PIN is declared as digital output
}
void loop() { // the loop() method is repeated
digitalWrite(led, HIGH); // switching on the led
delay(1000); // stopping the program for 1000 milliseconds
digitalWrite(led, LOW); // switching off the led
delay(1000); // stopping the program for 1000 milliseconds
}
|