Skip to content

tone() Not working with Nano 33 BLE #10322

Closed
@brendansmallco

Description

@brendansmallco

Hi Team,

Code implemented for the nano v3.0 does not work with the Nano 33 BLE.

`const int buzzer = 7; //buzzer to arduino pin 9

void setup(){

pinMode(buzzer, OUTPUT); // Set buzzer - pin 9 as an output

}

void loop(){

tone(buzzer, 1000); // Send 1KHz sound signal...
delay(1000); // ...for 1 sec
noTone(buzzer); // Stop sound...
delay(1000); // ...for 1sec

}`

Tried to manually import the Tone Lib but gave errors. Any idea what the issue is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DuplicateAnother item already exists for this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions