There is blink project consisting 3 sections:

1 - regulation of the led brightness using a potentiometer

2 - whenever: the button is pressed - the led is on

- the button is released - the led is off

3 - change state of a led statically

The question is that:

May I make this project on-board? I am curious that, if I will try making this project on-board (Arduino UNO) will the Arduino damaged?

closed as unclear what you're asking by Juraj, per1234, VE7JRO, sempaiscuba, Greenonline Oct 20 '18 at 11:02

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • When the button is released, the led is off, but at the same time the brightness is regulated with a potentiometer. Those two things can not be done at the same time. – Jot Oct 20 '18 at 4:55
  • "making this project on-board"? what do you understand by that? – Juraj Oct 20 '18 at 11:50
  • @Juraj Using just Arduino UNO board, not using extra breadboard and led. There are 11 leds like: ON, R17, R6, AX,.. and so on. As I unerstood on-board project is done just using these leds. If I am wrong, would be so glad to learn what on-board and off-board means? ))) – aizhan_maksatbek Oct 20 '18 at 12:00
  • so it should be "making this project by using on-board LED"? button or pot should not be on-board – Juraj Oct 20 '18 at 12:14
  • only on-board LED controllable from the sketch is LED on pin 13. and it is not dimmable as you can read in the Answer by Kevin – Juraj Oct 20 '18 at 12:16

Pin 13, which is the on-board LED, is not a pwm pin. So you cannot Control the brightness of that LED on-board. You will have to use another LED and a PWM pin.

Not the answer you're looking for? Browse other questions tagged or ask your own question.