Page 119 - PROYECTO INTEGRADOR
P. 119

digitalWrite (4, HIGH);

                        digitalWrite (5, HIGH);

                       digitalWrite (6, HIGH);






                        digitalWrite (7, LOW);

                           digitalWrite (8, LOW);






                    }

                  if( pot >=438 && pot<584) {




                     digitalWrite (2, HIGH);

                        digitalWrite (3, HIGH);

                        digitalWrite (4, HIGH);

                       digitalWrite (5, HIGH);




                       digitalWrite (6, LOW);

                        digitalWrite (7, LOW);

                           digitalWrite (8, LOW);






                    }

                   if( pot >=292 && pot<438) {




                     digitalWrite (2, HIGH);

                        digitalWrite (3, HIGH);
   114   115   116   117   118   119   120   121   122   123   124