Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
okeneo opened this issue Jun 10, 2024 · 0 comments

Comments

@okeneo
Copy link

okeneo commented Jun 10, 2024

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"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant