I have an Arduino Uno and a light sensor. I would like the light sensor to activate the [H] button on my keyboard. If the light sensor is in the dark (1024 I can see in the monitor) it should have the same effect as holding the [H] button until there is light again. How do I go about this?
At this moment The arduino en sensor works, I think I should be able to read out the serialport en then, when the output is near 1024, trigger an event like holding the [H] key. I only have no idea where to look on the web, what words to look for or if this is so basic that there is a piece of coding out there.
working on an art-installation, help is very welcome :)