Arduino sketch for interactive lamps