This file is indexed.

/usr/share/fritzing/sketches/core/Fritzing Creator Kit DE+EN/creator-kit-en/Fritzing Creator Kit/Exercise2_1/Exercise2_1.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
21
22
23
24
25
26
27
28
29
30
31
/*
  chaserlight from both sides
  
  This example is part of the Fritzing Creator Kit: www.fritzing.org/creator-kit.
*/

int pinCount=8;                        // declaring the integer variable pinCount
int pins[] = {2,3,4,5,6,7,8,9};          // declaring the array pins[]

void setup() {                
  for (int i=0; i<pinCount; i=i+1){    // counting the variable i from 0 to 7
    pinMode(pins[i], OUTPUT);            // initialising the pin at index i of the array of pins as OUTPUT
  }
}

void loop() {
  for (int i=0; i<4; i=i+1){             // chasing right
    digitalWrite(pins[i], HIGH);         // switching the LED at position i on
    digitalWrite(pins[7-i], HIGH);       // switching the LED at position 7-i on   
    delay(100);                          // stopping the program for 100 milliseconds
    digitalWrite(pins[i], LOW);          // switching the LED at position i off
    digitalWrite(pins[7-i], LOW);        // switching the LED at position 7-i off    
  }
  for (int i=2; i>=1; i=i-1){            // chasing left (except the outer leds)
    digitalWrite(pins[i], HIGH);         // switching the LED at position i on
    digitalWrite(pins[7-i], HIGH);       // switching the LED at position 7-i on
    delay(100);                          // stopping the program for 100 milliseconds
    digitalWrite(pins[i], LOW);          // switching the LED at position i off
    digitalWrite(pins[7-i], LOW);        // switching the LED at position 7-i off   
  }
}