I have to write a program to get traffic lights to work - how do i get it to show green and amber at the same time?

any suggestions?

Green = True
Yellow = True
Red = False

Who knows? How can we tell from the code you have provided? Oops, what code!

In all seriousness, how are we to tell from what you have provided. Is this actually an RS232 interface you are trying to communicate with? Or is it just a graphic you want to display for a school project?


Good Luck

i suggest, you'll use time to be easy the process of your system.......... ill try to do that your system......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.