arduino - Can you explain me (int i=0; i<8; i++, data>>=1)? -


i know loop needs in form of (initialization; condition; increment) in case there fourth part, know does?

there no fourth part. third part contains comma operator allows put various statements if 1 can't use {}. pretty time i've ever used them (and while ) have single place want more 1 thing.

in case, last part of loop both incrementing (i++) , shifting data right once (dividing 2) @ end of each iteration


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -