SIK-Guide-Code icon indicating copy to clipboard operation
SIK-Guide-Code copied to clipboard

Update Documentation to Include SIK-Guide-Code-master in Examples Directory

Open okeneo opened this issue 1 year ago • 0 comments

The documentation for adding the SIK-Guide-Code-master folder to the Examples directory appears outdated on GitHub and the printed guide.

  1. On Mac, the Examples directory was found in Contents/Resources/app/lib/backend/resources/Examples not Contents/Resources/Java or Contents/Java/Examples.
  2. Simply dropping the SIK-Guide-Code-master folder into the Examples directory did not add it to the Arduino IDE. I had to append examples.json found in Contents/Resources/app/lib/backend/resources/Examples with the JSON below:
{
  "label": "SIK-Guide-Code-master",
  "children": [],
  "sketches": [
    {
      "name": "SIK_Circuit_1A-Blink",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_1A-Blink"
    },
    {
      "name": "SIK_Circuit_1B-Potentiometer",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_1B-Potentiometer"
    },
    {
      "name": "SIK_Circuit_1C-Photoresistor",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_1C-Photoresistor"
    },
    {
      "name": "SIK_Circuit_1D-RGBNightlight",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_1D-RGBNightlight"
    },
    {
      "name": "SIK_Circuit_2A-Buzzer",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_2A-Buzzer"
    },
    {
      "name": "SIK_Circuit_2B-DigitalTrumpet",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_2B-DigitalTrumpet"
    },
    {
      "name": "SIK_Circuit_2C-SimonSays",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_2C-SimonSays"
    },
    {
      "name": "SIK_Circuit_3A-Servo",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_3A-Servo"
    },
    {
      "name": "SIK_Circuit_3B-DistanceSensor",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_3B-DistanceSensor"
    },
    {
      "name": "SIK_Circuit_3C-MotionAlarm",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_3C-MotionAlarm"
    },
    {
      "name": "SIK_Circuit_4A-LCDHelloWorld",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_4A-LCDHelloWorld"
    },
    {
      "name": "SIK_Circuit_4B-TemperatureSensor",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_4B-TemperatureSensor"
    },
    {
      "name": "SIK_Circuit_4C-DIYWhoAmI",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_4C-DIYWhoAmI"
    },
    {
      "name": "SIK_Circuit_5A-MotorBasics",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_5A-MotorBasics"
    },
    {
      "name": "SIK_Circuit_5B-RemoteControlRobot",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_5B-RemoteControlRobot"
    },
    {
      "name": "SIK_Circuit_5C-AutonomousRobot",
      "relativePath": "SIK-Guide-Code-master/SIK_Circuit_5C-AutonomousRobot"
    }
  ]
}

okeneo avatar Jun 10 '24 16:06 okeneo