How to make a programming code to make my bedside table lamp light up??
You would need either a smart lamp, which im not sure they make or a microcontroller to connect to the lamp. Arduinos are something you may want to look into. they use a c/c++ like language that is fairly easy to code in and it has a huge community