beacon code with led