try that ```#define speaker 5 void setup() { pinMode(speaker, OUTPUT); } void loop() { tone(s
try that
#define speaker 5
void setup()
{
pinMode(speaker, OUTPUT);
}
void loop()
{
tone(speaker,1000); //Using tone function with duration
delay(2000);
noTone(speaker);
delay(1000);
}Device Manager under Ports)Ports then it isn't being detected by your operating system... which could be an indication that you have a cable issue (specially if it's a microUSB cable since many of those are "charge only" cables & you need a "data cable" instead) ... if you're sure you have a data cable, then try a different port on your PC/laptop & verify that you've installed the correct driver for your specific microcontroller board#include "Glyphs.h"PROGMEMDevice ManagerPortsPorts