Page 855 - 3-2
P. 855

gpio23.low();
                                            Thread.sleep(250);

                                            gpio23.high();
                                    }

                            }
                              }

                              catch(Exception e)
                              {

                                      System.out.println(e + "socsoc" );
                              }

            }
            public static void cool(int i)

            {
                    if(i==1) gpio21.high();

                    else gpio21.low();
            }

            public static void sph() throws InterruptedException{
                    gpio22.high();

            }
            public static void spl() throws InterruptedException{

                    gpio22.low();
            }

            public static void senser() throws InterruptedException
              {

                    //if(hi==1)gpio22.high();
                    //else if(hi==0)gpio22.low();



                      System.out.println("senser");

                      int jsd=0;
                      gpio16.high();

                      Thread.sleep(1);
                      gpio16.low();

                      for(int k=0;k<8;k++)
                      {

                              if(sw3[k].isHigh()) jsd = jsd | 1<<k;
                              else ;



                                                         - 855 -
   850   851   852   853   854   855   856   857   858   859   860