samedi 25 février 2017

If statement for a centain amount of time?

I haven't been using C++ as much recently, however I have came upon a small issue upon re-visiting it! If possible, could someone please give an explanation (and example) of how I could use an if statement in this manner:

If (photocellReading > 350 for 350 ms) {
do action

I hope this makes sense...

Aucun commentaire:

Enregistrer un commentaire