... | ... | @@ -26,7 +26,7 @@ Visit [https://wokwi.com/](https://wokwi.com/). There is no need to create an ac |
|
|
|
|
|
:bulb: You can change the light intensity that hits the LDR, by clicking onto it!
|
|
|
|
|
|
> :books: Connect the LED via a resisitor to the microcontroller. ( :warning: pay attention to the polarity ) and try to control the intensity of the LED in the code. :bulb: look up the function analogWrite()
|
|
|
> :books: Connect the LED via a resisitor to the microcontroller. ( :warning: pay attention to the polarity ) and try to control the intensity of the LED in the code. :bulb: look up the function analogWrite() and map() !
|
|
|
|
|
|
> :books: Change your code, in order that the intensity on the LDR detemines the light intensity of the LED!
|
|
|
|
... | ... | |