I was talking to a friend today, and he mentioned a mate who he said used BASIC to program serial connections, etc. I was really interested and I want to know more about programming at such a low level. Is it possible in C++? Could I write code on a computer to control the electricity flow in something like a train track? I've heard of it bieng done at my local university (I'm not old enough to attend yet), but how?
Could someone please show me a few places to start? Or even a quick explanation as to how?