i urgently need a speaker simulator program for the project. i try searching my intrnet but cannot find much that is good. please someone must have some like anyone have library or source code for it?
i didnot change your code. whose code? what code? post (a link to) it.
i go again and led is not bright but same code ? what do you mean by "go again"? power down/power up? reset? loop?
more words do not make you appear stupid, they make you appear clear
Erik
yes it is not your code it is mine
i start the code again and the led is not bright but it was before
A LED that is connected directly to a processor pin without a series resistor is likely to light up very bright, but for a limited time.
Very few LED are suitable for direct connection to 3.3V and the problem is evern worse if you have a processor with 5V output logic.