In this lesson we show you now to use the Arduino While Loop. Anything you can do with a for loop you can do equally well with a while loop. The while loop, in my mind, is much more intuitive to use for arduino projects where you are reading data from sensors.
You can get the kit I am using for this series at the following link:
https://amzn.to/2I7N4Ek[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.] #Arduino