Skip to content

analogWrite crashes #351

Closed
Closed
@yann-l

Description

@yann-l

a simple program that use analogWrite makes the portenta crash. Here is an example sketch from khoih-prog here

#define LEDB_PIN            25

void setup()
{
  pinMode(LEDB_PIN, OUTPUT);

  Serial.begin(115200);
  while (!Serial);

  delay(100);

  Serial.print(F("\nStarting analogWrite_Crash on ")); Serial.println(BOARD_NAME);
  analogWrite(LEDB_PIN, 150);
}


void loop()
{
}

it prints "Envie M7" here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions