Go Down

Topic: Small sketch for TSL235R Light to Frequency sensor (Read 10828 times) previous topic - next topic

robtillaart


Code: [Select]

volatile bool doneOnce = false;

void setup()
{
... setup thingies here
}

void loop()
{
  if (! doneOnce)
  {
    doneOnce = true;
    ... do the thing;
  }
  do other thingies
}
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up