Skip to content

LED not cleared after loading a blank sketch #473

Closed
@sandeepmistry

Description

@sandeepmistry

This occurred while testing with the 2.0.1 rc1 JSON.

  1. Load sketch to turn LED on:
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  digitalWrite(LED_BUILTIN, HIGH);
}

void loop() {
}
  1. LED is on.

  2. Load blank sketch:

void setup() {
}

void loop() {
}
  1. LED remains on.

After step 3) I expect the LED to be off as the sketch is empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions