Changes between Version 11 and Version 12 of TSL2561


Ignore:
Timestamp:
Jan 12, 2016 2:43:50 PM (3 years ago)
Author:
soumura
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TSL2561

    v11 v12  
    101101  #define TSL2561_VDD A2
    102102  #define TSL2561_GND A3
    103 
    104   pinMode(TSL2561_VDD, OUTPUT);
    105   pinMode(TSL2561_GND, OUTPUT);
    106   digitalWrite(TSL2561_VDD, HIGH);
    107   digitalWrite(TSL2561_GND, LOW);
     103  setup(){
     104    pinMode(TSL2561_VDD, OUTPUT);
     105    pinMode(TSL2561_GND, OUTPUT);
     106    digitalWrite(TSL2561_VDD, HIGH);
     107    digitalWrite(TSL2561_GND, LOW);
     108
     109  }
    108110}}}
    109111