ARDUINO Tutorial 11 Implementing the IF Statement with Dimmable LED's

8 Просмотры
M = “V2b” Here on the chart it’s 0, – V2a Here on the chart it’s 255” and then that's going to be over “vOut2 Here on the chart it’s 0 – vOut1 Here on the chart it’s 1023” All right do You see what I'm doing I'm simplifying the slope of the line using the variables that We are used too that way You understand better and it’s not just Xs and Ys! Now It is easier to calculate M and so We are then left with M which is (255 over 1023)” and multiply this by vOut)). This is now compatible with Our Arduino. We just have to change a few things, in the code and the circuit need adjusting starting to comment those lines here as they are not necessary, do not forget to update the 5 volt to 255 and You can remove or comments those lines too that’s up to You. But the main reason it’s not working it is because the pin is not a PDM one. so let’s adjust this and well send this to the Arduino and Voila!
With this out of the way Lets’ add 2 more LEDs that will lit up depending of the voltage.
I paste the sketch like So. Send it to the Arduino and We are done.

Link to Sites:

If Statement (Conditional Statement):
if - Arduino Reference:

You guys can help me out over at PATREON: and that will keep this content coming:
Link to My Most Watched Video:

Recover You r lost data With DISK DRILL even with the free Version

I find the Best Calculator Ever & it is free.

How to Change from Microsoft Edge to Google Search Instead (UPDATED)

Link to the other CYBERPUNCK 2077 Video:

Feel Free to leave a comment, Please, or a remark maybe even a request or question in the comment section bellow may You have any, and, If You LIKE this video, please do HIT the SUSCRIBE Button and, OR, the bell Icon.

????Your 1 Subscription to My Channel Can Make My Day ????

THANKS a MILLION for YouR time
Комментариев нет.