Update examples: light.ino and switch.ino