light switch. arduino does the opposite of what i need..

if your "lamp" is connected between pin 23 and ground then setting pin 23 HIGH will activate it
if your "lamp" is connected between pin 23 and +5 then setting pin 23 LOW will activate it

that's why a circuit diagram matters...