I recently got a Raspberry Pi B+, and I have been playing around with it a lot. I want to start a personal project where, when I link to my Pi through an SSH connection from my laptop, I can make a "connection" light flash on my Pi's breadboard.
Essentially I would like to do something like this:
When there is no device SSH connected to the Pi, a constant red light appears on the breadboard.
When there is a SSH connection, a flashing green light will be enabled, to express that a device is connected.
I have looked online in many places for an idea on how to start something like this. I am not an expert at terminal or programming, but I think that this project will greatly help me in some of those areas. Does anyone here have experience with something like this, or can direct me in a proper direction for in which I can start? Thank you very much!